Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have Read The Docs redirect here for all versions #63

Closed
Tracked by #52
blairconrad opened this issue Nov 30, 2022 · 3 comments
Closed
Tracked by #52

have Read The Docs redirect here for all versions #63

blairconrad opened this issue Nov 30, 2022 · 3 comments
Assignees

Comments

@blairconrad
Copy link
Member

No description provided.

@blairconrad blairconrad mentioned this issue Nov 30, 2022
9 tasks
@blairconrad
Copy link
Member Author

Most versions were redirected by making them inactive and also adding a redirect rule:
/en/$rest -> https://fakeiteasy.github.io/docs/

"latest" got another rule:
/en/latest/$rest -> https://fakeiteasy.github.io/docs/stable/

as did "stable":
/en/latest/$rest -> https://fakeiteasy.github.io/docs/stable/

However the stable branch is still served by RTD, so we'll need to push a docs update that contains a single index page that redirects to https://fakeiteasy.github.io/docs/stable/.

@thomaslevesque
Copy link
Member

thomaslevesque commented Nov 30, 2022

Here's a recap of what we did

  • create a new clone of the FakeItEasy repo
  • removed everything except:
    • readthedocs.yml
    • mkdocs.yml
    • docs/requirements.txt
  • add an index.md with a script that redirects to the correct page on fakeiteasy.github.io
  • Change the repo URL in ReadTheDocs, and recreate the Github webhook from RTD (in "Integrations", remove the old one and add a new "GitHub incoming webhook" integration)
  • Add a 999.0.0 tag. ReadTheDocs considers this the new stable version, and builds it. If not, build stable manually.
  • Make the repo private

@thomaslevesque
Copy link
Member

Also done for FakeItEasy.Analyzers (and updated the steps above, since it didn't work following the exact same steps...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants