Skip to content

Commit 1606c8f

Browse files
committed
build: notes about publishing docs and packages
1 parent b9bd86d commit 1606c8f

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![ci](https://github.com/csiro-hydroinformatics/pyrefcount/workflows/ci/badge.svg)](https://github.com/csiro-hydroinformatics/pyrefcount/actions?query=workflow%3Aci)
44
[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://csiro-hydroinformatics.github.io/pyrefcount/)
5-
6-
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/csiro-hydroinformatics/pyrefcount/blob/main/LICENSE.txt) ![status](https://img.shields.io/badge/status-stable-green.svg) [![Documentation Status](https://readthedocs.org/projects/pyrefcount/badge/?version=latest)](https://pyrefcount.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/csiro-hydroinformatics/pyrefcount/branch/main/graph/badge.svg?token=ZBBFq3ncAq)](https://codecov.io/gh/csiro-hydroinformatics/pyrefcount)[![Python package](https://github.com/csiro-hydroinformatics/pyrefcount/actions/workflows/build-matrix.yml/badge.svg?branch=main)](https://github.com/csiro-hydroinformatics/pyrefcount/actions/workflows/build-matrix.yml)
5+
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/csiro-hydroinformatics/pyrefcount/blob/main/LICENSE.txt) ![status](https://img.shields.io/badge/status-stable-green.svg)
6+
[![codecov](https://codecov.io/gh/csiro-hydroinformatics/pyrefcount/branch/main/graph/badge.svg?token=ZBBFq3ncAq)](https://codecov.io/gh/csiro-hydroinformatics/pyrefcount)
77

88
[![pypi version](https://img.shields.io/pypi/v/refcount)](https://pypi.org/project/refcount/)[![Conda Version](https://img.shields.io/conda/vn/conda-forge/refcount.svg)](https://anaconda.org/conda-forge/refcount)[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/refcount?label=conda-downloads)](https://anaconda.org/conda-forge/refcount)
99

docs/tech_notes.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,28 @@ No fixes available (99 hidden fixes can be enabled with the `--unsafe-fixes` opt
7575

7676
These are a bit of a bother. Type annotations, I think, encouraged e.g. the use of `List` instead of `list` years ago. This grates.
7777

78+
### Deploying docs
79+
80+
`make docs-deploy` requires mkdocs for insiders.
81+
82+
`mkdocs gh-deploy`:
83+
84+
```
85+
ERROR - Config value 'markdown_extensions': Failed to load extension 'callouts'.
86+
ModuleNotFoundError: No module named 'callouts'
87+
```
88+
89+
This was because I had not activated the environment with `. ./.venv/bin/activate`
90+
91+
```sh
92+
mkdocs build
93+
mkdocs gh-deploy
94+
```
95+
96+
```sh
97+
make release version=1.2.7
98+
```
99+
78100
## Release steps
79101

80102
* all UT pass

src/refcount/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Base classes forreference counting."""
1+
"""Base classes for reference counting."""
22

33
from typing import Any
44

0 commit comments

Comments
 (0)