404 from Documentation Links
A lot of the documentation pages have links that give a 404.
For example, the return-from-function help doc link https://nsubstitute.github.io/help/return-from-function shows:
I think there may have been some missing files during the migration: https://github.com/nsubstitute/NSubstitute/commit/4437c2b97d296ce4e584af89064194b705a345a5
Where is that url located?
This link works for me
From: https://nsubstitute.github.io/docs/2010-01-01-getting-started.html
It links to https://nsubstitute.github.io/docs/2010-02-03-return-from-function.html
Ow I see almost every link on https://nsubstitute.github.io/docs/2010-01-01-getting-started.html
Gives a 404 :(
E.g. these 3
@Romfos , @dtchepak any idea?
Yea, we have dates at article names and URLs My proposition is to remove it
We have documentation in /docs in this repo
How to check documentation locally:
- open terminal in /docs folder
- install docfx dotnet tool
dotnet tool install -g docfx - run
docfx build --serve --open-browser
maybe you can create a PR with fix?
I think it's a good idea to remove the dates from the urls :)
PR would be great
Thanks for raising this @aukevin !
@304NotModified I had a go at fixing this: https://github.com/nsubstitute/NSubstitute/pull/886
I'll look forward to to the fix!
This should be fixed now @aukevin . Thanks for the report! Please let me know if you find more issues with this 🙇