Giter Site home page Giter Site logo

gregcaporaso / dev-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qiime2/dev-docs

0.0 1.0 0.0 466 KB

Developer documentation for QIIME 2

License: BSD 3-Clause "New" or "Revised" License

Python 57.56% CSS 16.83% Makefile 8.68% HTML 16.93%

dev-docs's Introduction

Welcome to the QIIME 2 developer docs!

To contribute, follow these steps:

  1. Fork this repo
  2. Clone your forked repo onto your computer
  3. Make a new branch git checkout -b informative-branch-name
  4. Make and preview your edits
  5. Commit and push your edits, and start a pull request

Previewing edits

This documentation is built by sphinx, which you can also use to make a local copy of the docs to preview on your computer.

First, you need to have all the required packages installed. Start by going to https://packages.qiime2.org/qiime2/<20XX.Y>/amplicon/released (where <20XX.Y> is the current release epoch).

Check on the latest versions for qiime2 and q2cli (these are the two QIIME 2 packages you'll need in your conda environment).

Create a new conda environment with the following packages/channels:

conda create -n dev-docs -c https://packages.qiime2.org/qiime2/<20XX.Y>/amplicon/released -c conda-forge -c bioconda -c defaults qiime2=<20XX.Y.ver> q2cli=<20XX.Y.ver> sphinx

Where 20XX.Y is the current release epoch, and 20XX.Y.ver is the version found on packages.qiime2.org for qiime2 and q2cli, respectively.

Once the environment has been created, you'll activate it with:

conda activate dev-docs

From the main dev-docs repo, run:

pip install -r requirements.txt

This should download sphinx (plus a few other dependencies). Note that you might want to run this in a qiime2 dev environment, to keep installs separate from your main computer.

To build the documentation and preview your changes, run the following command from the main repo:

make dirhtml

The output files will show up in the build folder. Open these html files to explore the documentation locally.

Once you're satisfied with your changes, commit your changes and push them to your repo, and then start a pull request from your repo's site. Don't commit any of the files in the build directory.

dev-docs's People

Contributors

thermokarst avatar ebolyen avatar chriskeefe avatar lizgehret avatar q2d2 avatar cduvallet avatar nbokulich avatar oddant1 avatar david-rod avatar andrewsanchez avatar keegan-evans avatar colinvwood avatar justin212k 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.