Giter Club home page Giter Club logo

hii-docs's Introduction

Ecosoft MKDocs Document Template

What is MKDocs?

To understand how mkdocs works, following few line of code (in linux) will do.

$ pip3 install mkdocs               # Install the package
$ cd ~                              # Go to home directory
$ mkdocs new my-doc-project         # Initial the document project folder
$ cd my-doc-project                 # Do to project directory, now a sample index.md is created
$ mkdocs build                      # OR build the site folder, which can be deployed in a web server
$ mkdocs serve                      # Start the test server, to see how it looks at http://localhost:8000/

For more detail, please visit https://www.mkdocs.org

Installation

  1. Install mkdocs and mkdocs-with-pdf plugin
    $ pip3 install mkdocs
    $ pip3 install mkdocs-with-pdf
    
  2. Clone this repo for your project documentation
    $ git clone https://github.com/ecosoft-odoo/eco_mkdocs my-doc-project
    

Using this template

Use .md files as sample, it should be easy enough to get started. Just a few notes that,

  • mkdocs.yaml is the configuration file (enough for Ecosoft). More detailed here, https://www.mkdocs.org/user-guide/configuration/
  • All .md source files will be in docs folder, this is where you add content.
  • To build all .md files into a site folder, run command, > mkdocs build. Note that PDF file will be created into site/pdf
  • To test, run command, > mkdocs build and go to http://localhost:8000/

Markdown Cheatsheet:

Note:

  • The site folder is ignored by .gitignore
  • Just push to master barnch, github action in .github/workflows/ci.yml will auto generate site folder into branch gh-pages.
  • If you enable Github Pages on branch gh-pages, you will get the document site at https://<my_account>.github.io/<my_project>

Remarks:

This document template can be viewed here -> https://ecosoft-odoo.github.io/eco_mkdocs/

hii-docs

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.