Giter Club home page Giter Club logo

meetings-user-docs's Introduction

Example: Jupyter Book for Read the Docs

Documentation Status

This example shows a Jupyter Book project with Read the Docs. You're encouraged to view it to get inspiration and copy & paste from the files in the source code. If you are using Read the Docs for the first time, have a look at the official Read the Docs Tutorial. If you are using Jupyter Book for the first time, have a look at the official Jupyter Book documentation.

πŸ“š docs/
A basic Jupyter Book project lives in docs/. All the *.md make up sections in the documentation, intro.md is the starting page and includes this README.rst.
βš™οΈ .readthedocs.yaml
Read the Docs Build configuration is stored in .readthedocs.yaml.
βš™οΈ docs/_config.yml
This is the configuration for Jupyter Book which is used to generate a Sphinx-configuration on-the-fly. However, the Sphinx conf.py file is NOT managed in a git repository, as it is managed by Jupyter Book!
πŸ“ docs/requirements.txt
These dependencies need to be installed for Jupyter Book to work. If you are familiar with Python, you might notice that the dependencies are not pinned. This is the default method for Jupyter Book - on one hand it gives you the latest version each time Read the Docs builds your documentation; but on the other hand, your build can fail in the future if an incompatible version of jupyter-book is released.
πŸ’‘ Extension: Intersphinx
Using this extension, we refer directly to sections in other projects that use Sphinx.
πŸ’‘ Extension: sphinx-hoverxref
A floating window (also known as a "tooltip" or "modal dialogue") appears when the mouse curser hovers a cross references to another section of the documentation or another documentation project referenced with Intersphinx.
πŸ”’ Simplified versioning
In this example, we maintain a single version of the rendered documentation by automatically building and rendering everything that is added to the main branch. This is different from many software projects where several versions of the docs may be published for each new release.
πŸ”’ Pull Request builds
Every time a change in a Pull Request on the GitHub repository happens, users can open an automatically built Pull Request preview.
⁉️ Questions / comments
If you have questions related to this example, feel free to can ask them as a GitHub issue here.

Example Project usage

This project has a standard Jupyter Book layout which is built by Read the Docs almost the same way that you would build it locally (on your own laptop!).

You can build and view this documentation project locally - we recommend that you activate a local Python virtual environment first:

# Install required Python dependencies (Sphinx etc.)
pip install -r docs/requirements.txt

# Run Jupyter Book
jupyter-book build docs/

# View the docs with for instance firefox
firefox docs/_build/index.html

Using the example in your own project

If you are new to Read the Docs, you may want to refer to the Read the Docs User documentation.

If you are copying this code in order to get started with your documentation, you need to:

  1. use your existing project repository or create a new repository on GitHub, GitLab, Bitbucket or another host supported by Read the Docs

  2. copy .readthedocs.yaml and the docs/ folder into your project.

  3. if you want to have a README on GitHub, create a README.rst which will be included in index.md.

  4. if you do not want your README from GitHub included in the docs, edit Γ¬ndex.md` and remove the eval-rst block that includes it.

  5. if you don't already have a .gitignore, use the one from the project file -- otherwise add these lines:

    /docs/conf.py
    /docs/_build
    
  6. customize all the files, replacing example contents.

  7. rebuild the documenation locally to see that it works.

  8. finally, register your project on Read the Docs, see Importing Your Documentation.

Read the Docs Tutorial

To get started with Read the Docs, you may also refer to the Read the Docs Tutorial. It provides a full walk-through of building an example project similar to the one in this repository.

meetings-user-docs's People

Contributors

psad73 avatar

Watchers

 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.