14 changed files with 174 additions and 212 deletions
@ -1,8 +0,0 @@ |
|||
name: Disco |
|||
|
|||
rules: |
|||
disco/*.py: |
|||
parser: numpy |
|||
|
|||
outputs: |
|||
- {type: markdown, path: docs/api/, title: 'Disco Documentation'} |
@ -1,10 +0,0 @@ |
|||
{ |
|||
"title": "Disco", |
|||
"plugins": ["prism", "-highlight", "hints", "anchorjs"], |
|||
"pluginsConfig": { |
|||
"anchorjs": { |
|||
"placement": "left", |
|||
"visible": "always" |
|||
} |
|||
} |
|||
} |
@ -1,20 +0,0 @@ |
|||
#!/bin/bash |
|||
echo "Building Autogenerated API Docs" |
|||
pushd .. |
|||
python -m biblio.cli ../disco/.biblio.yaml |
|||
popd |
|||
|
|||
echo "Running Gitbook Build" |
|||
gitbook build |
|||
|
|||
if [ ! -z "${GH_TOKEN:-}" ]; then |
|||
echo "Deploying to Github Pages" |
|||
pushd _book/ |
|||
git init |
|||
git config user.name "AutoDoc" |
|||
git config user.email "<>" |
|||
git add . |
|||
git commit -m "Generated Documentation" |
|||
git push --force --quiet "https://${GH_TOKEN}@github.com/b1naryth1ef/disco" master:gh-pages |
|||
popd |
|||
fi |
Loading…
Reference in new issue