Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
takishida committed Mar 15, 2024
1 parent ef7927d commit a2da54c
Show file tree
Hide file tree
Showing 11 changed files with 1,541 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
# To be black compatible
max-line-length = 88
extend-ignore = E203
25 changes: 25 additions & 0 deletions .github/workflows/gh-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: gh-page
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: mixed-line-ending
args:
- --fix=lf

- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
args:
- --max-line-length=88
- --extend-ignore=E203

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.30.0
hooks:
- id: yamllint
18 changes: 18 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
pre-commit = "2.20.0"
flake8 = "6.0.0"
black = "23.1.0"

[packages]
requests = "2.31"
multiline = "1.0"
py-markdown-table = "0.4"
mkdocs-material = "9.5"

[requires]
python_version = "3"
807 changes: 807 additions & 0 deletions Pipfile.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/Cisco_Logo_no_TM_Sky_Blue-RGB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
141 changes: 141 additions & 0 deletions docs/full.md

Large diffs are not rendered by default.

141 changes: 141 additions & 0 deletions docs/index.md

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions docs/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/* enlarge the size of the logo icon
* to match the height of the header */
.md-header__button.md-logo {
margin: 0;
padding: 0;
}
.md-header__button.md-logo img {
height: 4em;
}

/* Remove unnecessary space at the top */
.md-main__inner {
margin-top: 0;
}

/* Fix the first column (PID) and change the overflow section */
div.md-typeset__scrollwrap {
overflow-x: unset;
}

div.md-typeset__table {
display: unset;
overflow-x: auto;
}

.md-typeset__table table:not([class]) th,
.md-typeset__table table:not([class]) td {
padding: 0.3em;
min-width: unset;
white-space:nowrap;
}

.md-typeset__table table:not([class]) th:first-child,
.md-typeset__table table:not([class]) td:first-child {
position: sticky;
left: 0em;
background: white;
}
Loading

0 comments on commit a2da54c

Please sign in to comment.