-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c85bbb
commit 92d126a
Showing
4 changed files
with
156 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,23 @@ | ||
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 pillow cairosvg | ||
- run: mkdocs gh-deploy --force |
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,68 @@ | ||
# Homepage | ||
|
||
For full documentation visit [mkdocs.org](https://www.mkdocs.org). | ||
|
||
## Code Annotation Examples | ||
|
||
### Codeblocks | ||
|
||
Some `code` goes here. | ||
|
||
### Plain codeblock | ||
|
||
A plain codeblock: | ||
|
||
``` | ||
Some code here | ||
def myfunction() | ||
// some comment | ||
``` | ||
|
||
#### Code for a specific language | ||
|
||
Some more code with the `py` at the start: | ||
|
||
``` py | ||
import tensorflow as tf | ||
def whatever() | ||
``` | ||
|
||
#### With a title | ||
|
||
``` py title="bubble_sort.py" | ||
def bubble_sort(items): | ||
for i in range(len(items)): | ||
for j in range(len(items) - 1 - i): | ||
if items[j] > items[j + 1]: | ||
items[j], items[j + 1] = items[j + 1], items[j] | ||
``` | ||
|
||
#### With line numbers | ||
|
||
``` py linenums="1" | ||
def bubble_sort(items): | ||
for i in range(len(items)): | ||
for j in range(len(items) - 1 - i): | ||
if items[j] > items[j + 1]: | ||
items[j], items[j + 1] = items[j + 1], items[j] | ||
``` | ||
|
||
#### Highlighting lines | ||
|
||
``` py hl_lines="2 3" | ||
def bubble_sort(items): | ||
for i in range(len(items)): | ||
for j in range(len(items) - 1 - i): | ||
if items[j] > items[j + 1]: | ||
items[j], items[j + 1] = items[j + 1], items[j] | ||
``` | ||
|
||
## Icons and Emojs | ||
|
||
:smile: | ||
|
||
:fontawesome-regular-face-laugh-wink: | ||
|
||
:fontawesome-brands-twitter:{ .twitter } | ||
|
||
:octicons-heart-fill-24:{ .heart } |
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,5 @@ | ||
# Page 2 | ||
|
||
## Another heading | ||
|
||
Some more example text |
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,60 @@ | ||
site_name: External Secrets Operator | ||
# site_url: https://james-willett.github.io/mkdocs-material-youtube-tutorial/ | ||
theme: | ||
name: material | ||
features: | ||
- navigation.tabs | ||
- navigation.sections | ||
- toc.integrate | ||
- navigation.top | ||
- search.suggest | ||
- search.highlight | ||
- content.tabs.link | ||
- content.code.annotation | ||
- content.code.copy | ||
language: en | ||
palette: | ||
- scheme: default | ||
toggle: | ||
icon: material/toggle-switch-off-outline | ||
name: Switch to dark mode | ||
primary: teal | ||
accent: purple | ||
- scheme: slate | ||
toggle: | ||
icon: material/toggle-switch | ||
name: Switch to light mode | ||
primary: teal | ||
accent: lime | ||
|
||
# plugins: | ||
# - social | ||
|
||
extra: | ||
social: | ||
- icon: fontawesome/brands/github-alt | ||
link: https://github.com/PrateekKumar1709 | ||
- icon: fontawesome/brands/medium | ||
link: https://medium.com/@prateek17 | ||
- icon: fontawesome/brands/linkedin | ||
link: https://www.linkedin.com/in/prateek1709/ | ||
|
||
markdown_extensions: | ||
- pymdownx.highlight: | ||
anchor_linenums: true | ||
- pymdownx.inlinehilite | ||
- pymdownx.snippets | ||
- admonition | ||
- pymdownx.arithmatex: | ||
generic: true | ||
- footnotes | ||
- pymdownx.details | ||
- pymdownx.superfences | ||
- pymdownx.mark | ||
- attr_list | ||
- pymdownx.emoji: | ||
emoji_index: !!python/name:materialx.emoji.twemoji | ||
emoji_generator: !!python/name:materialx.emoji.to_svg | ||
|
||
copyright: | | ||
© 2023 <a href="https://github.com/PrateekKumar1709" target="_blank" rel="noopener">Prateek Kumar</a> |