mkdocs¶
pip install mkdocs-glightbox
https://squidfunk.github.io/mkdocs-material/reference/admonitions/
github pipelines¶
name: markdownlint
on: [push, pull_request]
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install markdownlint-cli
- name: Run markdownlint
run: npx markdownlint 'docs/readability.md' --config .markdownlint.json --ignore docs/*.md
name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
env:
SKIP_TESTS: ${{ env.SKIP_TESTS }}
run: |
if [ -z "$SKIP_TESTS" ]; then
behave features/file.feature
# behave -c 1
else
echo "Tests skipped due to SKIP_TESTS environment variable."
fi
lightbox¶
snippets¶
url_download
¶
moon phase