docs: Implement self-hosted docs

* Add npm scripts for installing/building docusaurus from main project
* Set base url based on ENV
* Build docsite in docker image
* Add link to doc in dashboard and link to github
* Update nodejs install instructions to include doc build command
* Update GH pages workflow to use correct base url
* Add hint page to main app when docs are not built
This commit is contained in:
FoxxMD 2024-07-15 13:26:57 -04:00
parent 049bb06762
commit d1a4a54d2a
12 changed files with 148 additions and 362 deletions

View file

@ -27,6 +27,7 @@ jobs:
env:
ANALYTICS: ${{ vars.ANALYTICS }}
ANALYTICS_DOMAIN: ${{ vars.ANALYTICS_DOMAIN }}
DOCS_BASE: '/multi-scrobbler'
run: npm run build
working-directory: ./docsite