Code Monkey home page Code Monkey logo

docs-test's Introduction

GitHub Pages site with MkDocs and MkDocs-Material.
Configure plugins etc. with mkdocs.yml as usual and known in cloud-user-docs.
Gather files and assets in docs folder as known in cloud-user-docs.

GitHub Pages need no initial setting or setup in GitHub. They can initially be set up through MkDocs by running mkdocs gh-deploy and updated by a GitHub action (see workflow mkdocs.yml in this repository, need no self-hosted runner). Updates happen with a push on main branch (e.g. try cloning this repo, adjusting docs/index.md, and pushing it on main, changes should be visible when both actions ran). First action (Build and deploy MkDocs) is from this repository to trigger mkdocs deployment, second action (pages-build-deployment) is run by a GitHub pages bot (same action that gets triggered when running mkdocs gh-deploy manually).

Local development with

python -m venv env
source env/bin/activate
pip install -r mkdocs-requirements.txt
mkdocs serve

Suggested workflow:
We host the docs in a simplevm repository (portal, webapp or a dedicated docs repo). If someone wants to host their own docs with GitHub Pages, they fork our repository and set it up with the github action. They would need to keep their fork up to date manually or with a scheduled action (https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule).
We would need a fork of our own for staging (because GitHub Pages for a repository can be set up only from one branch).

docs-test's People

Contributors

ekatchko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.