Skip to content

Commit

Permalink
feat: ✨ Add mkdocs web site
Browse files Browse the repository at this point in the history
  • Loading branch information
frack113 committed Jan 5, 2025
1 parent c649bf4 commit 2175df7
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/mkdoc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ci

Check warning on line 1 in .github/workflows/mkdoc.yaml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

1:1 [document-start] missing document start "---"

Check failure on line 1 in .github/workflows/mkdoc.yaml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

1:10 [new-lines] wrong new line character: expected \n

Check failure on line 1 in .github/workflows/mkdoc.yaml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

1:9 [trailing-spaces] trailing spaces
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com

Check failure on line 16 in .github/workflows/mkdoc.yaml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

16:81 [line-length] line too long (85 > 80 characters)
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV

Check failure on line 20 in .github/workflows/mkdoc.yaml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

20:64 [trailing-spaces] trailing spaces
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material

Check failure on line 27 in .github/workflows/mkdoc.yaml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

27:41 [trailing-spaces] trailing spaces
- run: mkdocs gh-deploy --force
11 changes: 11 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Malware Traces Generator


Check failure on line 3 in docs/index.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Multiple consecutive blank lines

docs/index.md:3 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md012.md
## Build or Run

To build just type the command ` cargo build -r`.

Check failure on line 6 in docs/index.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Spaces inside code span elements

docs/index.md:6:32 MD038/no-space-in-code Spaces inside code span elements [Context: "` cargo build -r`"] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md038.md

To run from source : `cargo run `

Check failure on line 8 in docs/index.md

View workflow job for this annotation

GitHub Actions / Lint with markdownlint-cli2

Spaces inside code span elements

docs/index.md:8:22 MD038/no-space-in-code Spaces inside code span elements [Context: "`cargo run `"] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md038.md

## to be fill

1 change: 1 addition & 0 deletions docs/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
site_name: Malware Traces Generator

Check warning on line 1 in mkdocs.yml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

1:1 [document-start] missing document start "---"

Check failure on line 1 in mkdocs.yml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

1:36 [new-lines] wrong new line character: expected \n

theme:
name: readthedocs
highlightjs: true
hljs_languages:
- yaml
- rust
logo: logo.svg

Check failure on line 9 in mkdocs.yml

View workflow job for this annotation

GitHub Actions / Lint with yamllint

9:17 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 2175df7

Please sign in to comment.