A cookiecutter template for Aind.Behavior repositories
This repository follows the project structure laid out in the Aind.Behavior.Services repository.
We currently maintain the following templates:
generic
: A generic template for Aind.Behavior repositories.
- Pick your template from the list above
- Install cookiecutter.
pip install cookiecutter
- Run
cookiecutter https://github.com/AllenNeuralDynamics/Aind.Behavior.CookieCutter.Template --directory="<template_name>"
in the directory where you want to create your new repository. - Follow the prompts to fill in the repository name, description, etc.
- Push the new repository to GitHub.
Some steps are template-specific. These are outlined in the generated README.md
file in the new repository.
The following steps are generally common to all repositories and are mostly optional.
- Go to the repository on GitHub.
- Click on the cogwheel next to the
About
section. - Click on
Topics
. - Add your topics of choice. For Aind Behavior repositories, I have been using
aind-behavior
The docs use sphinx. To deploy locally run make html
in the docs
directory. To deploy on GitHub pages, follow these steps:
- Open a new branch called
gh-pages
. - Go to the repository on GitHub.
- Click on
Settings
. - Click on
Pages
. - Select
Deploy from a branch
underSource
and select thegh-pages
as the source branch. - Click on the cogwheel next to the
About
section. - Select
Use your GitHub Pages website
underWebsite
.
Some functionality may be disabled / commented by default. To enable it, uncomment the relevant lines in the conf.py
file in the docs
directory.