Skip to content

Commit

Permalink
Merge pull request #1 from Innmind/mkdocs
Browse files Browse the repository at this point in the history
Build a transverse documentation website of the whole organization via Mkdocs
  • Loading branch information
Baptouuuu committed May 12, 2024
2 parents 46aaf9c + d3ac1ee commit 70a9d2a
Show file tree
Hide file tree
Showing 84 changed files with 12,255 additions and 196 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ci
on:
push:
branches: [master]
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
- uses: actions/setup-python@v5
with:
python-version: 3.x
- 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.cache
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This command is intended to be run on your computer
serve:
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material

build:
docker run --rm -it -v ${PWD}:/docs squidfunk/mkdocs-material build
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
# Innmind documentation

Most [packages](packages.md) you'll find in this organization are here to advance the organization [vision](vision.md). All of them are designed with the same [principles](design_choices.md) to simplify integration and context switching.
You can find the built version of this documentation at https://innmind.github.io/documentation/.

You can view the dependencies between the packages via this [macOS application](https://github.com/Innmind/macOS-tooling).

> **Note** However some are here to solve recurring problems you may find in a professional context, or for intellectual curiosity.
## Use cases

- [Upload a local file via HTTP](use_cases/upload_local_file.md)
- [Copy a local directory to S3](use_cases/copy_local_directory_to_s3.md)
- [Serve a S3 file via an HTTP server](use_cases/serve_s3_file.md)
- [Persist a SQL result to a file](use_cases/persist_sql_result_to_file.md)
- [Persist crawled links to a database](use_cases/persist_crawled_links_to_database.md)
To view it on your machine, pull the repository and run `make serve` that will open the page http://0.0.0.0:8000/
30 changes: 0 additions & 30 deletions design_choices.md

This file was deleted.

Loading

0 comments on commit 70a9d2a

Please sign in to comment.