From 6d1537ac5e528db9e91cf905f507bb409e546d2c Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Fri, 12 Jan 2018 14:54:19 +0300 Subject: docs: Remove references to header_id.md page. The page was removed along with the extension in 1127013. Also ensure any future MkDocs warnings cause the build to fail in the tests so we don't introduce similar errors in the future. --- checkspelling.sh | 2 +- docs/change_log/release-2.1.md | 2 +- docs/change_log/release-2.6.md | 4 +--- docs/extensions/index.md | 1 - docs/extensions/meta_data.md | 3 --- 5 files changed, 3 insertions(+), 9 deletions(-) diff --git a/checkspelling.sh b/checkspelling.sh index ac794f7..acd504e 100755 --- a/checkspelling.sh +++ b/checkspelling.sh @@ -1,7 +1,7 @@ #!/bin/bash echo "Building docs..." -mkdocs build +mkdocs build --strict if [ $? -ne 0 ]; then exit 1 fi diff --git a/docs/change_log/release-2.1.md b/docs/change_log/release-2.1.md index c8fa0e4..5a8bdad 100644 --- a/docs/change_log/release-2.1.md +++ b/docs/change_log/release-2.1.md @@ -43,7 +43,7 @@ release, there are a few backward-incompatible changes to note: you should now set them on the class. See the [Library Reference](../reference.md) for the options available. -* If you have been using the [HeaderId](../extensions/header_id.md) extension to +* If you have been using the HeaderId extension to define custom ids on headers, you will want to switch to using the new [Attribute List](../extensions/attr_list.md) extension. The HeaderId extension now only auto-generates ids on headers which have not already had ids defined. diff --git a/docs/change_log/release-2.6.md b/docs/change_log/release-2.6.md index 1495072..1799cde 100644 --- a/docs/change_log/release-2.6.md +++ b/docs/change_log/release-2.6.md @@ -142,7 +142,7 @@ explanation of the current behavior. ### HeaderId Extension Pending Deprecation -The [HeaderId][hid] Extension is pending deprecation and will raise a +The HeaderId Extension is pending deprecation and will raise a **`PendingDeprecationWarning`** in version 2.6. The extension will be deprecated in the next release and raise an error in the release after that. Use the [Table of Contents][TOC] Extension instead, which offers most of the features of the @@ -153,8 +153,6 @@ defined in the HeaderId Extension should note that those functions are now defined in the Table of Contents extension and should adjust their import statements accordingly (`from markdown.extensions.toc import slugify, unique`). -[hid]: ../extensions/header_id.md - ### The `configs` Keyword is Deprecated Positional arguments and the `configs` keyword on the diff --git a/docs/extensions/index.md b/docs/extensions/index.md index 3d98760..cbfdab6 100644 --- a/docs/extensions/index.md +++ b/docs/extensions/index.md @@ -64,7 +64,6 @@ Extension | Entry Point | Dot Notation [Smart Strong]: smart_strong.md [Admonition]: admonition.md [CodeHilite]: code_hilite.md -[HeaderId]: header_id.md [Meta-Data]: meta_data.md [New Line to Break]: nl2br.md [Sane Lists]: sane_lists.md diff --git a/docs/extensions/meta_data.md b/docs/extensions/meta_data.md index 29f3e0b..7a72329 100644 --- a/docs/extensions/meta_data.md +++ b/docs/extensions/meta_data.md @@ -101,9 +101,6 @@ Compatible Extensions The following extensions are currently known to work with the Meta-Data extension. The keywords they are known to support are also listed. -* [HeaderId](header_id.md) - * `header_level` - * `header_forceid` * [WikiLinks](wikilinks.md) * `wiki_base_url` * `wiki_end_url` -- cgit v1.2.3