Giter Club home page Giter Club logo

docs's Introduction

Minicli Docs

Official documentation repository for minicli/minicli.

The documentation at docs.minicli.dev lives in the docs folder of this repository. The landing folder contains the landing page at minicli.dev.

Contributing

Check our contributing guidelines for details on how you can contribute to Minicli.

Because the documentation is built in markdown files, you can contribute directly from the GitHub website by accessing the documentation page you want to change and clicking on the pencil icon on the top right. This will automatically create a fork of the repository on your own GitHub profile, and upon committing your changes you'll be able to create a pull request directly.

Setting Up the Documentation Website

The documentation website is built with MKDocs and hosted with Read the Docs.

Setting Up MKDocs Locally

Although not necessary for contributing, in order to be able to run the documentation website locally and see your changes you'll need to set up MKDocs on your development machine. This will require:

  • Python 3
  • Pip

Ubuntu/Debian systems

Make sure you have python3 and pip installed:

sudo apt install python3 python3-pip

Then, install mkdocs and the mkdocs-material theme with:

sudo pip install mkdocs mkdocs-material

Check if mkdocs was successfully installed with:

mkdocs --version

After cloning this repository, run the following command from the project's root folder:

mkdocs serve

This command will block your terminal, serving the documentation website locally on http://localhost:8000. After making changes, you can simply reload the page to see your updates. When you are done, you can hit CTRL+C to stop serving the website.

You don't need to run the build command, since that is automatically run by Readthedocs when the main branch has new commits.

macOS systems

Make sure you have Homebrew installed:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then install Python:

brew install python

Download the pip installer:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

And run it, to install pip:

python3 get-pip.py

Then, install mkdocs and the mkdocs-material theme with:

pip install mkdocs mkdocs-material

using Docker

You can use the provided Dockerfile to build a container that includes mkdocs and mkdocs-material, just follow the lines below.

First, build the image using the following command from the project's root folder:

docker build -t mkd:v1 .

Then, run the server

docker run --rm -it -v "$(pwd)":/mkdocs/src -p 8080:8080 mkd:v1 mkdocs serve --dev-addr 0.0.0.0:8080

This command will block your terminal. Now, you can open http://localhost:8080 on your browser. After making changes, you can simply reload the page to see your updates. When you are done, you can hit CTRL+C to stop serving the website.

You don't need to run the build command, since that is automatically run by Readthedocs when the main branch has new commits.

docs's People

Contributors

erikaheidi avatar wendelladriel avatar simonardejr avatar alexkart avatar lumary2 avatar jonathanbossenger avatar zuruckt avatar juststeveking avatar askerakbar avatar cmeerbeek avatar nelwhix avatar oleksandr-moik avatar rudirocha avatar devatreides avatar theoboldalex 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.