skycoin / wiki

Contains source code for the Skycoin Wiki
2 stars 3 forks source link

Wiki

Go to wiki Site >>

This wiki is used to document all of the product and things that happen in the skycoin ecoysystem and community.

Please keep the folder structure organized.

Folder Structure

You are always welcomed to open issues or do pull-requests to suggest improvements or errors on the wiki.

Setup

  1. Clone this repository

  2. Install Dependencies

    • Install Material for MkDocs with

       pip install mkdocs-material 

      See also here

    • Install git-revision-date plugin with

      pip3 install mkdocs-git-revision-date-plugin
    • Install macros-plugin with

      pip install mkdocs-macros-plugin
  3. Test your changes with local build

    • move into folder wiki and start with command
      mkdocs serve
    • Start your browser and go to the displayed IP (e.g. htps://localhost:8000)

    Note

    You can now change your files and save them, mkdocs will recognize this and rebuild the site locally.

  4. Pull-Request your changes

Deploying the Project

Checkout to the main branch.

git switch main 

Make sure you have synchronized the latest changes by running

git pull

Afterwards build and deploy the wiki to Github Pages by running the following command:

mkdocs gh-deploy

MkDocs will build your docs and use the ghp-import tool to commit them to the gh-pages branch and push the gh-pages branch to GitHub.