-
Notifications
You must be signed in to change notification settings - Fork 138
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
Initialize github pages #485
Conversation
RTD supports mkdocs 1. I highly recommend not to go with GH-pages and instead use RTD. If there are any concerns I am happy to discuss them. Footnotes |
RTD is OK, it's just I don't want to see advertisements on the doc webpages. I think for the free version, we cannot git rid of ads. Could you explain in detail the downsides of gh-pages than RTD? If RTD is much better in terms of some features, I can try RTD and see if people can tolerate the ads. |
Thanks for the info!
Yes, that's one advantage, with gh-pages I need to use
I have some other projects that are using gh-pages, and they can be indexed as the topmost one by google/bing/duckduckgo in few days. For a much more widely used repo like wannier90, I wouldn't worry too much.
This is nice to have.
I am using GitHub workflows for docs deployment upon each wannier90 release, so both are fine.
OK.
Indeed this is the biggest disadvantage of gh-pages, for now all the html+js are around 7.8MB for each release. This will increase the size of the repo in the long term. So in the end it's weather we want to remove ads or reduce the size of the repo. I will create a test doc on RTD to see it in real, then we decide which one we want. |
- Add version warning - Auto deploy docs to `gh-pages` on github release The commit is kept here as a reference. We will switch to readthedocs to deploy multiple versions of the docs, since mike use `gh-pages` branch to host the docs, increasing the size of the repo in the long term. See wannier-developers#485 for more details.
- Add version warning - Auto deploy docs to `gh-pages` on github release The commit is kept here as a reference. We will switch to readthedocs to deploy multiple versions of the docs, since mike use `gh-pages` branch to host the docs, increasing the size of the repo in the long term. See wannier-developers#485 for more details.
Some commits to bootstrap the docs versioning.
Once this is merged, docs will be automatically deployed using github actions in #484, whenever there is a new release (e.g.
v4.0.0
) on github.This is draft since I need to rebase the PR after the merge of #484.