diff --git a/docs/conf.py b/docs/conf.py index ae03e3ef5..afadee156 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -67,11 +67,17 @@ r"http://0.0.0.0", r"http://127.0.0.1", r"http://example.com", + r"https://chromewebstore.google.com/", # Redirects to consent page that requires auth r"https://docutils.sourceforge.io/", # Blocked as crawler + r"https://docs.github.com/en/get-started/.*", # GitHub docs require auth r"https://github.com/plone/training/issues/new/choose", # requires auth r"https://github.com/search", # always rate limited, causes linkcheck to stall - r"https://docs.github.com/en/get-started/.*", # GitHub docs require auth + r"https://www.npmjs.com/", # tests say 403 Server Error, but manually they work + r"https://www.merriam-webster.com/", # tests say 403 Server Error, but manually they work r"https://www.linode.com/.*", # tests say 500 Server Error, but manually they work + # Ignore static file downloads + r"^/_static/", + r"^/_images/", # ### Start of list of anchored links # Prior to each PloneConf, uncomment these lines to verify that the links work, # although the anchor cannot be found. @@ -203,7 +209,9 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ["_static"] +html_static_path = [ + "_static", +] # -- Options for MyST markdown conversion to HTML ----------------------------- diff --git a/docs/mastering-plone/dexterity.md b/docs/mastering-plone/dexterity.md index 4fbc7465d..054dfcf3d 100644 --- a/docs/mastering-plone/dexterity.md +++ b/docs/mastering-plone/dexterity.md @@ -123,7 +123,7 @@ We will only use the Plone web interface features. ````{card} ```{image} _static/volto_dexterity_types.png :alt: Edit content type schema through the web - :target: ../_images/volto_dexterity_types.png + :target: /_images/volto_dexterity_types.png ``` +++ _Edit content type schema through the web_ @@ -134,7 +134,7 @@ We will only use the Plone web interface features. ````{card} ```{image} _static/volto_edit_schema.png :alt: Add field through the web (TTW) - :target: ../_images/volto_edit_schema.png + :target: /_images/volto_edit_schema.png ``` +++ _Add field through the web (TTW)_ @@ -146,7 +146,7 @@ We will only use the Plone web interface features. ````{card} ```{image} _static/volto_add_news_item.png :alt: See new additional custom field in a fresh new news item - :target: ../_images/volto_add_news_item.png + :target: /_images/volto_add_news_item.png ``` +++ _See new additional custom field in a fresh new news item_