Skip to content

Commit b071e05

Browse files
authored
Merge pull request #147 from cdot65/pipeline-update
Pipeline update
2 parents 2734197 + a3615fa commit b071e05

File tree

4 files changed

+77
-12
lines changed

4 files changed

+77
-12
lines changed

.github/workflows/mkdocs-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Python
2525
uses: actions/setup-python@v4
2626
with:
27-
python-version: "3.x"
27+
python-version: "3.12"
2828

2929
- name: Install dependencies
3030
run: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,4 @@ pan_os_upgrade/components/example.py
172172
.idea
173173
poetry.lock
174174
settings.yaml
175+
.CLAUDE

mkdocs.yml

Lines changed: 66 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,84 @@
1-
site_name: pan-os-upgrade Documentation
1+
site_name: PAN-OS Upgrade Automation
22
site_description: Automate upgrades of Palo Alto Networks firewalls with Python
33
site_url: https://cdot65.github.io/pan-os-upgrade/
44
repo_name: cdot65/pan-os-upgrade
55
repo_url: https://github.com/cdot65/pan-os-upgrade
6+
site_dir: site
7+
copyright: Copyright © 2023-2025 Calvin Remsburg
8+
69
theme:
710
name: material
11+
logo: images/logo.svg
12+
favicon: images/logo.svg
813
language: en
914
features:
15+
- navigation.sections
16+
- navigation.indexes
17+
- navigation.top
1018
- navigation.tabs
19+
- navigation.tabs.sticky
1120
- navigation.instant
21+
- navigation.tracking
22+
- navigation.footer
23+
- content.code.copy
24+
- content.code.annotate
25+
- content.tabs.link
26+
palette:
27+
- scheme: default
28+
primary: indigo
29+
accent: indigo
30+
toggle:
31+
icon: material/brightness-7
32+
name: Switch to dark mode
33+
- scheme: slate
34+
primary: indigo
35+
accent: indigo
36+
toggle:
37+
icon: material/brightness-4
38+
name: Switch to light mode
39+
1240
plugins:
1341
- search
42+
- autorefs:
43+
link_titles: true
1444
- mkdocstrings:
1545
handlers:
1646
python:
17-
rendering:
18-
show_source: true
47+
options:
48+
show_source: false
49+
selection:
50+
docstring_style: google
51+
52+
markdown_extensions:
53+
- admonition
54+
- pymdownx.highlight:
55+
anchor_linenums: true
56+
line_spans: __span
57+
pygments_lang_class: true
58+
- pymdownx.details
59+
- pymdownx.inlinehilite
60+
- pymdownx.snippets
61+
- pymdownx.superfences
62+
- pymdownx.tabbed:
63+
alternate_style: true
64+
- attr_list
65+
- md_in_html
66+
- tables
67+
- footnotes
68+
69+
# Explicitly set the layout for home page with customizations
70+
not_in_nav: |
71+
index.md
72+
73+
extra_css:
74+
- css/termynal.css
75+
- css/custom.css
76+
77+
extra_javascript:
78+
- js/termynal.js
79+
- js/custom.js
80+
81+
# Define the navigation menu
1982
nav:
2083
- Home: index.md
2184
- User Guide:
@@ -34,9 +97,3 @@ nav:
3497
- License: about/license.md
3598
- Contributing: about/contributing.md
3699
- Release Notes: about/release-notes.md
37-
extra_css:
38-
- css/termynal.css
39-
- css/custom.css
40-
extra_javascript:
41-
- js/termynal.js
42-
- js/custom.js

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,19 @@ colorama = "^0.4.6"
5050
black = "^23.12.1"
5151
flake8 = "^7.0.0"
5252
ipdb = "^0.13.13"
53+
# MkDocs and related dependencies
54+
mkdocs = "^1.6.0"
5355
mkdocs-material = "^9.5.4"
54-
mkdocstrings = "^0.24.0"
56+
mkdocstrings = {extras = ["python"], version = "^0.24.0"}
57+
mkdocs-autorefs = "^0.4.1" # Using a compatible version for current setup
58+
termynal = "^0.12.1" # Use termynal package instead of mkdocs-termynal
59+
# Testing related
5560
pytest = "^7.4.4"
56-
python-dotenv = "^1.0.1"
5761
pytest-mock = "^3.12.0"
62+
pytest-cov = "^4.1.0"
63+
python-dotenv = "^1.0.1"
5864
prompt-toolkit = "^3.0.43"
65+
rich = "^13.7.0" # For better console output
5966

6067
[tool.poetry.scripts]
6168
pan-os-upgrade = 'pan_os_upgrade.main:app'

0 commit comments

Comments
 (0)