Fundamental Documentation

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

Start with the checklist in this issue and the package template workflow it describes. Document creating a package with cookiecutter, CI, RTD, pre-commit and tox; then cover template updates using .sunpy-template.yml and migration away from astropy_helpers, including the linked APE17 guidance and _sunpy_init.py. Done means each checklist item has clear instructions.

Written by the indexing model from the issue text.

Description

documentation

Things we need to document here:

  • Creating a new package using the template
    • Install cookiecutter
    • Run cookiecutter
    • Answering questions, what they all mean etc
    • git init
    • How to use the CI configs, RTD and pre-commit
    • pre-commit (it runs as part of tox so needs to be run to make sure it passes).
  • Updating a package with a new version of the template
    • .sunpy-template.yml
    • Run cookiecutter --no-input --config-file .sunpy-template.yml
    • review diff, drop some changes, stage others.
    • How to detect files removed by the template?
  • Removal of astropy_helpers + upgrade from old templates.
Dominant language
Python
Stars
3
Forks
11
Avg merge
2d 18h
Merged PRs (30d)
12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sunpy/package-template

All issues in sunpy/package-template

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.