-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from AbdelStark/feature/nuts-pages
Feature/nuts pages
- Loading branch information
Showing
31 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Deploy MkDocs Site to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: write-all | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" | ||
|
||
- name: Install Dependencies | ||
run: pip install -r requirements.txt | ||
|
||
- name: Build the Site | ||
run: mkdocs build --clean | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/node_modules | ||
dist/ | ||
site/ |
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.
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
site_name: Cashu NUTs Specifications | ||
site_url: https://cashubtc.github.io/nuts/ | ||
theme: | ||
name: material | ||
features: | ||
- navigation.expand | ||
- navigation.sections | ||
- navigation.top | ||
- search.highlight | ||
- search.share | ||
- toc.integrate | ||
- content.code.copy | ||
- content.tabs.link | ||
- announce.dismiss | ||
palette: | ||
- scheme: default | ||
primary: indigo | ||
accent: indigo | ||
icon: | ||
logo: material/hand-coin | ||
nav: | ||
- Home: README.md | ||
- NUTs: | ||
- Mandatory: | ||
- NUT-00: 00.md | ||
- NUT-01: 01.md | ||
- NUT-02: 02.md | ||
- NUT-03: 03.md | ||
- NUT-04: 04.md | ||
- NUT-05: 05.md | ||
- NUT-06: 06.md | ||
# Add more mandatory NUTs here | ||
- Optional: | ||
- NUT-07: 07.md | ||
- NUT-08: 08.md | ||
- NUT-09: 09.md | ||
- NUT-10: 10.md | ||
- NUT-11: 11.md | ||
- NUT-12: 12.md | ||
- NUT-13: 13.md | ||
- NUT-14: 14.md | ||
- NUT-15: 15.md | ||
- NUT-16: 16.md | ||
- NUT-17: 17.md | ||
# Add more optional NUTs here | ||
plugins: | ||
- search | ||
- macros | ||
- section-index | ||
markdown_extensions: | ||
- admonition | ||
- codehilite | ||
- toc: | ||
permalink: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
mkdocs | ||
mkdocs-material | ||
mkdocs-macros-plugin | ||
mkdocs-section-index |