File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,6 @@ version: 2
1111# tools:
1212# python: "3.10"
1313
14- # This pattern will be supported by a better environment variable, proposed
15- # here: TBD
16- build :
17- os : ubuntu-22.04
18- tools :
19- python : " 3.10"
20- jobs :
21- pre_build :
22- - export "MKDOCS_SITE_URL=$READTHEDOCS_PROJECT"
23-
2414mkdocs :
2515 configuration : mkdocs.yml
2616 fail_on_warning : true
Original file line number Diff line number Diff line change 11site_name : Basic MkDocs Example Project
2- site_url : !ENV MKDOCS_SITE_URL
2+ # Until https://github.com/readthedocs/readthedocs.org/issues/9781 is fixed, you need to
3+ # define CUSTOM_CANONICAL_URL yourself as a workaround.
4+ # (don't expose it to PRs, they build on different URLs)
5+ # For instance, define it as https://SLUG.readthedocs.io/en/stable/
6+ site_url : !ENV [READTHEDOCS_CANONICAL_URL, CUSTOM_CANONICAL_URL, ""]
37theme :
48 name : readthedocs
59 highlightjs : true
You can’t perform that action at this time.
0 commit comments