GithubHelp home page GithubHelp logo

isasxm / documentation_template Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 531 KB

The overall objective of this project is to provide a ready-to-use documentation model with English/French bilingual parameters and versioning parameters.

Home Page: https://isasxm.github.io/Documentation_Template/

HTML 100.00%
documentation-tool markdown mike mkdocs mkdocs-material project-documentation python template

documentation_template's Introduction

Ready-to-use documentation template

Version flag Date flag Lang flag Lang flag Lang flag Lang flag Lang flag

Information Detail
Subject Ready-to-use documentation template project
Version 1.0
Date 2022-08-22
Maintainers ISAsxm

Foreword

The overall objective of this project is to provide a ready-to-use documentation model with English/French bilingual parameters and versioning parameters.


Information concerning this project

You can modify the index.md and index.fr.md files and create new .en.md and .fr.md files to build your project documentation (don't forget to add them to the mkdocs.yml file under the nav key).

You can modify the site name, GitHub repo url and the copyright in the mkdocs.yml file, under the respective keys site_name, repo_url and copyright.

You can change the logo and favicon under the respective paths docs/assets/logo.svg and docs/images/favicon.svg.

For changes to the theme or plugins, please refer to the official documentation listed below.

This project is developped through the mkdocs OpenSource project.

The theme used is material.

Plugins installed are mkdocs-i18n for translations, mike for versioning and mkdocs-glightbox for image zoom functionality.

!!! warning "Pay attention please" Please refer to their official documentation before modify this project.


Project installation

  1. Clone this git directory using the following command:
git clone [path_to_the_repository]
  1. Install the requirements, run the following commands at the root of the project:
pip3 install -r requirements.txt

Important If you didn't get this folder from Git, you need to run the git init command on the root of this project before setting up the project to be able to use versioning under mike plugins.


Project setup

Please refer to the Mkdocs and Mike section to start the development server.

Mkdocs >=1.3.1

For full documentation visit mkdocs.org.

Mkdocs basic command line

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.

Mkdocs Material (theme) >=8.4.1

For full documentation visit mkdocs-material.

Plugins

#### Mike (versioning) >=1.1.2

For full documentation visit mike.

 Mike basic command line
  • mkdocs new [dir-name] - Create a new project.
  • mike serve - Start the live-reloading docs server include versioning.
  • mike deploy --update-aliases [version-number] latest - Publish the first version through version-number.
  • mike set-default latest - Set the default version to latest.
  • mike deploy --update-aliases [new-version-number] latest - Publish a new version through new-version-number.
  • mike deploy --push --update-aliases [version-number] latest - Publish and git push on gh branch the first version through version-number.
  • mike set-default --push latest - Set the default version to latest and git push on gh branch.
  • mike deploy --push --update-aliases [new-version-number] latest - Publish and git push on gh branch a new version through new-version-number.

Mkdocs-i18n (internalisation) >=0.0.4

For full documentation visit mkdocs-i18n.

MkDocs GLightbox (image lightbox)

For full documentation visit mkdocs-glightbox

documentation_template's People

Contributors

isasxm avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

runtimevic

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.