Skip to content

Commit 848377c

Browse files
authored
fix docs build and docs around standards, towncrier, etc. (#337)
* fix docs build and docs around standards, towncrier, etc. * update ci 'needs' clauses * update to remove mypy * fix mkdocs with more docs best practices * fix mkdocs with more docs best practices * fix griffe types for auto docs adn add code references to mkdocs * fix yamllint * fix yamllint * fix rest of test * add unittest for release notes and docs versions, fix docs requireemnts.txt
1 parent 74fda9b commit 848377c

36 files changed

+645
-434
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ jobs:
7070
poetry-version: "1.8.5"
7171
- name: "Checking: poetry lock file"
7272
run: "poetry lock --check"
73+
needs:
74+
- "ruff-format"
75+
- "ruff-lint"
76+
- "yamllint"
7377
yamllint:
7478
runs-on: "ubuntu-24.04"
7579
env:
@@ -83,6 +87,9 @@ jobs:
8387
poetry-version: "1.8.5"
8488
- name: "Linting: yamllint"
8589
run: "poetry run invoke yamllint"
90+
needs:
91+
- "ruff-format"
92+
- "ruff-lint"
8693
pylint:
8794
runs-on: "ubuntu-24.04"
8895
strategy:
@@ -118,6 +125,8 @@ jobs:
118125
run: "docker image ls"
119126
- name: "Linting: Pylint"
120127
run: "poetry run invoke pylint"
128+
needs:
129+
- "poetry"
121130
pytest:
122131
strategy:
123132
fail-fast: true
@@ -153,6 +162,8 @@ jobs:
153162
run: "docker image ls"
154163
- name: "Run Tests"
155164
run: "poetry run invoke pytest"
165+
needs:
166+
- "poetry"
156167
publish_gh:
157168
name: "Publish to GitHub"
158169
runs-on: "ubuntu-24.04"

docs/admin/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
Option 1: Install from PyPI.
44

5-
```
5+
```bash
66
pip install pyntc
77
```
88

99
Option 2: Manually install via Poetry.
1010

11-
```
11+
```bash
1212
git clone https://github.com/networktocode/pyntc.git
1313
cd pyntc
14-
pip install poetry
14+
curl -sSL https://install.python-poetry.org | python3 -
1515
poetry install
1616
```
1717

1818
Option 3: Install from a GitHub branch, such as develop as shown below.
1919

2020
```bash
21-
$ pip install git+https://github.com/networktocode/pyntc.git@develop
21+
pip install git+https://github.com/networktocode/pyntc.git@develop
2222
```

0 commit comments

Comments
 (0)