Skip to content

Commit

Permalink
Move documentaion to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fraya committed Aug 5, 2023
1 parent 58e7b71 commit bac8448
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
push:
# all branches
paths:
- 'documentation/**'
- 'docs/**'
pull_request:
# all branches
paths:
- 'documentation/**'
- 'docs/**'

# This enables the Run Workflow button on the Actions tab.
workflow_dispatch:
Expand All @@ -22,8 +22,13 @@ jobs:

build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:

- uses: actions/checkout@v3

- name: Install Open Dylan
Expand All @@ -39,9 +44,7 @@ jobs:
- name: Build docs
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "documentation/"
docs-folder: "docs/"

- name: Deploy documents to GH pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: documentation/build/html
- name: deployment
uses: sphinx-notes/pages@v3
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
_build/
_packages/
registry/
documentation/build/
docs/build/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bac8448

Please sign in to comment.