Conversation
|
I've disabled strict mode for mkdocs compilation otherwise the generation fails: https://github.com/librenms/librenms/runs/1454332054?check_suite_focus=true#step:5:38. We should fix this error upstream. |
|
The following pages exist in the docs directory, but are not included in the "nav" configuration. Could be fixed later. |
|
The pages excluded from NAV are intentional and are linked to in other ways or legacy docs. Overall workflow is: I think the reason the docs is/was separate is we can only have one GH pages per org. |
👍
Build for every PR, master branch and tags. I've included tags if in the future we want a "versionized" documentation like traefik: I can remove this event in the meantime if you want.
Not anymore. You can now have as many as you want per org. You just have to include a custom CNAME like you did for custom domains. |
|
@murrant I have enabled strict mode and it looks ok now. |
|
@crazy-max we don't have the man power for a versioned docs :D |
|
This pull request has been mentioned on LibreNMS Community. There might be relevant details there: https://community.librenms.org/t/v1-69-release-changelog-november-2020/14124/1 |

This PR is the beginning of a best-effort to migrate to GitHub Actions as discussed on Discord since travis-ci.org will be officially closed down completely on December 31st, 2020. But today travis-ci.com requires a limited number of credits.
ATM I've added a simple workflow to generate mkdocs documentation without disruption of the actual implementation with the Travis build:
scripts/deploy-docs.sh.gh-pagesbranch on this repo.You can generate and test doc locally with the following commands:
docker build -t mkdocs -f ./doc/Dockerfile .docker run --rm -it -p 8000:8000 -v $(pwd):/docs mkdocsLive example of the build process and generated doc available on my fork: https://github.com/crazy-max/librenms/runs/1452595127?check_suite_focus=true
https://crazymax.dev/librenms/