Skip to content

Conversation

@mainrs
Copy link
Contributor

@mainrs mainrs commented Jul 15, 2020

This PR adds a GitHub Actions workflow file to automatically generate documentation for each push to the master branch. The documentation is pushed to the gh-pages branch. The code is taken from a GitHub template that I use for my libraries: https://github.com/SirWindfield/zerotask-rust-lib-template

Sven added 2 commits July 15, 2020 13:39
This PR adds a GitHub Actions workflow file to automatically generate documentation for each push to the master branch. The documentation is pushed to the `gh-pages` branch.
# pre

[docs_master_badge]: https://img.shields.io/badge/docs.rs-master-green
[docs_master_url]: https://aticu.github.io/pre
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'd have to change the docs_master_url if you have already a personal GitHub Pages website that points to a custom URL using CNAME or similar.
Take a look at https://raw.githubusercontent.com/SirWindfield/twm/master/README.md, which does exactly this.

@aticu
Copy link
Owner

aticu commented Jul 15, 2020

Thanks! I have never used GitHub Pages before. I'll look into it when I have the time (most likely after the thesis is due).

@mainrs
Copy link
Contributor Author

mainrs commented Jul 15, 2020

No problem! IIRC it should actually work out of the box :) And good luck with your thesis :)

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

Successfully merging this pull request may close these issues.

2 participants