Merge branch 'master' of github.com:squidfunk/mkdocs-material

This commit is contained in:
squidfunk 2020-12-06 11:15:17 +01:00
commit 4f595a28ca
3 changed files with 7 additions and 5 deletions

View File

@ -149,7 +149,7 @@ For other installation methods, configuration options, and a demo, visit
[Salesforce](https://policy-sentry.readthedocs.io/en/latest/), [Salesforce](https://policy-sentry.readthedocs.io/en/latest/),
[SAP](https://sap.github.io/ui5-tooling/), [SAP](https://sap.github.io/ui5-tooling/),
[SoundCloud](https://intervene.dev/), [SoundCloud](https://intervene.dev/),
[Spotify](https://spotify.github.io/mkdocs-monorepo-plugin/), [Spotify](https://backstage.github.io/mkdocs-monorepo-plugin/),
[Square](https://square.github.io/okhttp/), [Square](https://square.github.io/okhttp/),
[Uber](https://ludwig-ai.github.io/ludwig-docs/getting_started/), [Uber](https://ludwig-ai.github.io/ludwig-docs/getting_started/),
[Zalando](https://opensource.zalando.com/skipper/) [Zalando](https://opensource.zalando.com/skipper/)

View File

@ -31,6 +31,7 @@ contents:
push: push:
branches: branches:
- master - master
- main
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -51,6 +52,7 @@ contents:
push: push:
branches: branches:
- master - master
- main
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -66,9 +68,9 @@ contents:
GH_TOKEN: ${{ secrets.GH_TOKEN }} GH_TOKEN: ${{ secrets.GH_TOKEN }}
``` ```
Now, when a new commit is pushed to `master`, the static site is automatically Now, when a new commit is pushed to either the `master` or `main` branches,
built and deployed. Commit and push the file to your repository to see the the static site is automatically built and deployed. Commit and push the file
workflow in action. to your repository to see the workflow in action.
Your documentation should shortly appear at `<username>.github.io/<repository>`. Your documentation should shortly appear at `<username>.github.io/<repository>`.

View File

@ -29,7 +29,7 @@ with open("package.json") as data:
with open("requirements.txt") as data: with open("requirements.txt") as data:
install_requires = [ install_requires = [
line for line in data.read().split("\n") line for line in data.read().split("\n")
if line and not line.startswith("#") if line and not line.startswith("#")
] ]
# Load README contents # Load README contents