Skip to content

Commit

Permalink
Adding github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
scottTomaszewski committed Sep 27, 2024
1 parent 5bc8d2a commit 9c96ebe
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install mkdocs-roamlinks-plugin
- run: pip install mkdocs-rss-plugin
# - run: pip install mkdocs-mermaid2-plugin
- run: mkdocs gh-deploy --force
64 changes: 64 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
site_name: Obsidian Plugin - Draw Steel Elements
site_url: https://github.com/SteelCompendium/draw-steel-elements

copyright: The Draw Steel Compendium is an independent product published under the DRAW STEEL Creator License and is not affiliated with MCDM Productions, LLC. DRAW STEEL © 2024 MCDM Productions, LLC.

theme:
name: 'material'
font:
text: 'Source Serif 4'
palette:
scheme: slate
primary: black
accent: blue
logo: Media/favicon.ico
favicon: Media/favicon.ico

# Extensions
markdown_extensions:
- footnotes
# - attr_list
- pymdownx.arithmatex:
generic: true
# - pymdownx.superfences
# - pymdownx.details
# - pymdownx.magiclink
- pymdownx.tasklist:
custom_checkbox: true
- def_list
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format

- toc:
permalink: true
toc_depth: 1-6

plugins:
- search
- roamlinks
# - blog
# - rss:
# match_path: blog/posts/.*
# date_from_meta:
# as_creation: date
# categories:
# - categories
# - tags
extra_css:
- stylesheets/extra.css

extra_javascript:
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
- https://unpkg.com/mermaid/dist/mermaid.min.js
- https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
- javascripts/tablesort.js

0 comments on commit 9c96ebe

Please sign in to comment.