Skip to content

Commit 842d84f

Browse files
committed
chores: better folder naming for the sphinx documentation
1 parent 182832b commit 842d84f

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/deploy-documentation.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,12 @@ jobs:
2727
- name: Build documentation
2828
run: |
2929
# use sphinx to build the documentation
30-
#
31-
#/home/runner/.local/bin/sphinx-build -b html ./docs/source ./docs/build
32-
sphinx-build -b html ./docs ./build
30+
sphinx-build -b html ./docs-source ./docs
3331
3432
- name: Deploy 🚀
3533
uses: JamesIves/github-pages-deploy-action@4.1.3
3634
with:
3735
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3836
BRANCH: gh-pages # The branch the action should deploy to.
39-
FOLDER: ./build # The folder the action should deploy.
37+
FOLDER: ./docs # The folder the action should deploy.
4038
CLEAN: true # Automatically remove deleted files from the deploy branch

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.vscode/
22
__pycache__
3-
build/
3+
docs/
44
dist/
55
html/
66

Readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
This Python project implements the REST API of [SW360](https://www.eclipse.org/sw360/)
1010
and allows an easy way to interact with SW360.
1111

12+
## Documentation
13+
14+
Have a look at the documentation: https://sw360.github.io/sw360python/
15+
16+
1217
## Usage
1318

1419
### Installation
@@ -48,7 +53,7 @@ Install fossology and required dependencies:
4853
The documentation of the project is built using Sphinx:
4954

5055
```python
51-
poetry run sphinx-build .\docs build\
56+
poetry run sphinx-build .\docs-source\ .\docs\
5257
```
5358

5459
#### Building Python package
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)