forked from daphne-eu/daphne
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DAPHNE-daphne-eu#550] HTML documentation generated from our markdown…
… files This commit is the squashed version of PR daphne-eu#550. I did not take the time to sum up the individual log messages of the 56 original commits. Find the commit messages of these squashed commit below (in chronological order). Closes daphne-eu#550 Co-authored-by: Patrick Damme <[email protected]> docs mvp with only markdown docs doc readme: fix urls to work on web page add logos fix markdown syntax who is this mark dwon? remove copyright info from mark dwon files shorten mark dwon headers shorten mark dwon headers bundle DaphneDSL docs bundle DaphneLib docs minor md change [doc] fix some links [doc] widen html width add repo infos [mkdocs] manual ordering of documentation use nav tabs [doc][html] set color for light mode to daphne blue [doc][html] set color palette with light and dark version for DAPHNE blue [doc] change doc links back to working on gh [doc] append .md sufix back to doc links [doc] move binary format to dev docs [doc] gh action: exchange urls before doc build [doc] gh action: rm .md suffix for doc build prep [doc] gh actions insert full qualified gh url to all files except for /doc/ paths [doc] doc readme, minro bug fix [doc] fix urls [doc] add doc/development/Contributing.md dummy which will be overridden [doc] bugfix in mkdocs [doc] add dev docs for writing docs [doc] gh actions link replacement fix [doc] gh actions: also make links to file in repo root work [doc] fix links in gettingstarted [doc] rename containers/Readme to README [doc] fix broken links [doc] gh actions: make sed cmds better readable [doc] support links to issues [doc] add favicon [doc] rearrange docs [doc] change header for config [doc] put <> stuff into inline code [doc] indentation fixes [doc] make nav bar sticky [doc] refactor and add new md files to html Minor fixes. [doc] fix angle bracket usage [doc] try different gh workflow [doc] gh worflow yaml [doc] readd license header to all files [doc] change push trigger to main branch [doc] gh workflow: add PR trigger Minor polishing.
- Loading branch information
1 parent
00382c1
commit c27d7e9
Showing
37 changed files
with
1,310 additions
and
928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build HTML Docs from Markdown and Push to GitHub Pages Branch | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Build Docs | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Prepare Docs | ||
run: | | ||
cp CONTRIBUTING.md doc/development/Contributing.md | ||
sed -ri 's@(\(/doc/[a-zA-Z0-9/]*)(.md)@\1@g' doc/*.md | ||
sed -ri 's@(\(/doc/[a-zA-Z0-9/]*)(.md)@\1@g' doc/**/*.md | ||
sed -ri 's@\(/([a-zA-Z0-9]*.[a-zA-Z0-9]*)@\(https://github.com/daphne-eu/daphne/tree/main/\1@g' doc/*.md | ||
sed -ri 's@\(/([a-zA-Z0-9]*.[a-zA-Z0-9]*)@\(https://github.com/daphne-eu/daphne/tree/main/\1@g' doc/**/*.md | ||
sed -ri 's@]\(/([a-z]+)@]\(https://github.com/daphne-eu/daphne/tree/main/\1@g' doc/*.md | ||
sed -ri 's@]\(/([a-z]+)@]\(https://github.com/daphne-eu/daphne/tree/main/\1@g' doc/**/*.md | ||
sed -i 's@](https://github.com/daphne-eu/daphne/tree/main/doc/@](/daphne/@g' doc/*.md | ||
sed -i 's@](https://github.com/daphne-eu/daphne/tree/main/doc/@](/daphne/@g' doc/**/*.md | ||
sed -ri 's@]\(/issues/([0-9]+)@]\(https://github.com/daphne-eu/daphne/issues/\1@g' doc/*.md | ||
- name: Build | ||
uses: Tiryoh/actions-mkdocs@v0 | ||
with: | ||
mkdocs_version: 'latest' | ||
requirements: 'doc/docs-build-requirements.txt' | ||
configfile: 'mkdocs.yml' # option | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./doc_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.