Code Monkey home page Code Monkey logo

bioconda-docs's Introduction

Bioconda documentation

main docs: https://bioconda.github.io

This repository stores the source code for the bioconda docs at https://bioconda.github.io.

When pull requests in this repo are merged into the main branch, the docs are built and pushed to the bioconda.github.io repo for public hosting.

Note that prior to 2023-02-28, this documentation source was in the bioconda-utils repo, but has been split out for simplicity and ease of maintenance.

Why keep this separate from the from bioconda.github.io where the built docs live? Because this source code is relatively small, but the built docs are rather large. If we worked on the source over in bioconda.github.io, even if the source lived on a different branch, every time it was cloned we would be pulling full git history (including the large built docs). This separate repo allows us to keep editing the documentation lightweight.

Notes on pull requests

  • Inspect the built docs for each job. When a pull request is submitted for a branch, and on every subsequent push to the branch, the documentation will be built and uploaded as an artifact to the job. This is a file, doc.zip, that can be found on the GitHub Actions page for that job. This is a convenient way of checking formatting issues in the built documentation, without requiring a full local setup.

  • By default, only 10 recipes' README.html pages will be built. This dramatically speeds up the build process (by >10x) for faster iteration times. If you need to build all recipe README.html pages for some reason, you can include the text [build all recipes] in the commit message of the commit you want to build everything for.

Building docs locally

Make an environment containing the bioconda-utils package. E.g.,

mamba create \
  env -n bioconda-docs \
  bioconda-utils \
  --channel conda-forge \
  --channel bioconda \
  --strict-channel-priority

With that environment activated (i.e., conda activate bioconda-docs), in the top level of this repo, run:

make BIOCONDA_FILTER_RECIPES=10 html SPHINXOPTS="-T -j1"

The output will be found in build/html.

Note that you can set BIOCONDA_FILTER_RECIPES to some other number; omitting it completely will build all recipes' README.html pages which can take a while.

Points of interest

  • Docs are built with Sphinx
  • the source/_ext directory has Sphinx extensions for building the recipe README html files (along with making backlinks for dependencies' READMEs) and for a .. details:: directive.

Update frequency

These docs are automatically built each day, after pulling the latest changes to bioconda-recipes. This means that newly-added recipes or recently-updated recipes will not show up in the package index for a day or so.

bioconda-docs's People

Contributors

daler avatar johanneskoester avatar aliciaaevans avatar corneliusroemer avatar dpryan79 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.