summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2020-12-08 13:19:01 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2020-12-08 13:27:16 -0500
commitca43456f901abc3706f29f12c3c67ab5c5c4d264 (patch)
treef4d9639c5836ede0e2600e5214d76113492174cf
parent5a7bbaf4c00224a393ddc818b7fc1917c8064840 (diff)
downloadpython-markdown-ca43456f901abc3706f29f12c3c67ab5c5c4d264.tar.gz
Replace effbot.org links
effbot.org was the old site for ElementTree from before it was added to the Python standard library. We now link to the standard library which is up-to-date and avoid bad links to a third-party site which is currently down.
-rw-r--r--docs/extensions/api.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/extensions/api.md b/docs/extensions/api.md
index ce2a873..4b0d851 100644
--- a/docs/extensions/api.md
+++ b/docs/extensions/api.md
@@ -551,9 +551,8 @@ def set_link_class(self, element):
set_link_class(child) # run recursively on children
```
-For more information about working with ElementTree see the ElementTree
-[Documentation](https://effbot.org/zone/element-index.htm) ([Python
-Docs](https://docs.python.org/3/library/xml.etree.elementtree.html)).
+For more information about working with ElementTree see the [ElementTree
+Documentation][ElementTree].
## Integrating Your Code Into Markdown {: #integrating_into_markdown }
@@ -858,7 +857,7 @@ assert someitem in registry
[registerExtension]: #registerextension
[Config Settings]: #configsettings
[makeExtension]: #makeextension
-[ElementTree]: https://effbot.org/zone/element-index.htm
+[ElementTree]: https://docs.python.org/3/library/xml.etree.elementtree.html
[Available Extensions]: index.md
[Footnotes]: https://github.com/Python-Markdown/markdown/blob/master/markdown/extensions/footnotes.py
[Definition Lists]: https://github.com/Python-Markdown/markdown/blob/master/markdown/extensions/definition_lists