Skip to content

Commit 4cbd09c

Browse files
authored
Fix b0rken linkses and allow redirects for weblate (#1954)
1 parent 74e8bd1 commit 4cbd09c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs/classic-ui/module-federation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Replace the name `myaddon` with your add-on bundle's unique name.
8484
Replace the file name {file}`myaddon-remote.min.js` with the file name you want to use for your remote bundle.
8585
Finally replace `myaddon.min` with the corresponding key in `config.entry` that points to your {file}`index.js`.
8686

87-
For a full and basic example, see the Patterns generator [pat-PATTERN-TEMPLATE](https://github.com/Patternslib/pat-PATTERN_TEMPLATE/blob/master/webpack.config.js) or any other Pattern add-on in the [patternslib GitHub organization](https://github.com/patternslib/).
87+
For a full and basic example, see the Patterns generator [pat-PATTERN-TEMPLATE](https://github.com/Patternslib/pat-PATTERN_TEMPLATE/blob/main/webpack.config.js) or any other Pattern add-on in the [patternslib GitHub organization](https://github.com/patternslib/).
8888
For a complex example with Mockup integration see [`plone.app.mosaic`](https://github.com/plone/plone.app.mosaic/blob/master/webpack.config.js) and [Mockup](https://github.com/plone/mockup/blob/master/webpack.config.js) itself.
8989

9090

docs/conceptual-guides/choose-user-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ For developers and integrators:
4949
:target: /_static/classic-ui.png
5050
```
5151
52-
Test it on https://classic.demo.plone.org.
52+
Test it on https://classic.demo.plone.org/en.
5353
5454
For editors and other end users:
5555

docs/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@
8686
r"^/_static/",
8787
r"^/_images/",
8888
# Ignore pages that require authentication
89-
r"https://github.com/orgs/plone/teams/", # requires auth
90-
r"https://github.com/plone/documentation/issues/new", # requires auth
89+
r"https://github.com/orgs/plone/teams/",
90+
r"https://github.com/plone/documentation/issues/new",
91+
r"https://stackoverflow.com",
9192
# Ignore github.com pages with anchors
9293
r"https://github.com/.*#.*",
9394
# Ignore rate limiting by github.com
@@ -106,6 +107,8 @@
106107
# All HTTP redirections from the source URI to the canonical URI will be treated as "working".
107108
# Example
108109
# r"https://chrome\.google\.com/webstore/detail/.*": r"https://consent\.google\.com/.*",
110+
# Weblate now temporarily redirects to stop bots and AI
111+
r"https://hosted\.weblate\.org/.*": r"https://hosted\.weblate\.org/\.within\.website/\?redir=/.*",
109112
}
110113
linkcheck_retries = 1
111114
linkcheck_report_timeouts_as_broken = True

0 commit comments

Comments
 (0)