GithubHelp home page GithubHelp logo

sakshamgupta006 / sample_cpp_documentation Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 6.14 MB

Sample Cpp Documentation is a boiler plate code for creating awesome C++ Documentations.

Home Page: https://sample-cpp-documentation.readthedocs.io/en/latest/

License: MIT License

Makefile 4.97% CSS 13.95% JavaScript 54.49% HTML 19.99% Batchfile 5.46% Python 0.66% XSLT 0.48%
cpp documentation

sample_cpp_documentation's Introduction

Description

Sample Cpp Documentation is a boiler plate code for creating awesome C++ Documentations. Please Visit Read The Docs for detailed description and Installation procedure. Your new website will look something very similar.

Installation

Sample Documentation can be easily built using the procedure described in the following sections. You can either use python virtual environment (venv) or Conda to build the documentation.

First, clone the Sample_Cpp_Documentation repository using:

    git clone https://github.com/sakshamgupta006/Sample_Cpp_Documentation.git

Then install doxygen for your OS:

For Ubuntu you can use:

    sudo apt-get install doxygen

Using Virtual Env

Step:1 : Create a Virtual Environment


Create a python virtual environment using:

    python3 -m venv <NAME_OF_UR_ENV>

Activate the virtual environment using:

    source <NAME_OF_UR_ENV>/bin/activate

Step:2 : Install Required Libraries


Simply use pip with the requirements.txt file to set up the libraries.

    pip install -r requirements.txt

If there are some errors using the requirements.txt file, u can also install the required libraries using the following command:

    pip install breathe sphinx_rtd_theme

Step:3 : Building the code


Use the following command to build the documentation. This will create a build folder consisting of all the html files.


    make html

Using Conda

Step:1 : Create a Conda environment


Please install Conda before following the next steps. You can easily create a conda environment using:

    conda create -n <NAME_OF_UR_ENV> python=3.7

Here, I am using python 3.7, but the documentation is compatible with all python 3 versions.

Example:

    conda create -n cppdocs python=3.7

Step:2 : Install Required Libraries


First activate the previously created conda environment:

    conda activate <NAME_OF_UR_ENV>

Example:

    conda activate cppdocs

Alternatively, you can also use the following commands to install the required libraries:

    pip install breathe sphinx_rtd_theme
    conda install -c conda-forge breathe

Step:3 : Building the code


Use the following command to build the documentation. This will create a build folder consisting of all the html files.

    make html

sample_cpp_documentation's People

Contributors

sakshamgupta006 avatar

Watchers

James Cloos avatar  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.