Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix a suspicious part of categories doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Aug 1, 2022
1 parent 3519bed commit 1274718
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: make doc-html
env:
MAKE: make -j2
SAGE_NUM_THREADS: 1
SAGE_NUM_THREADS: 2

- name: Copy docs
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/doc/en/reference/categories/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Introduction
.. toctree::
:maxdepth: 2

sage/categories
sage/categories/all

The Sage Category Framework
---------------------------
Expand Down
5 changes: 1 addition & 4 deletions src/sage/categories/primer.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
r"""
Elements, parents, and categories in Sage: a (draft of) primer
.. contents::
:depth: 2
Elements, parents, and categories in Sage: a primer
Abstract
========
Expand Down
8 changes: 5 additions & 3 deletions src/sage/categories/tutorial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
r"""
Implementing a new parent: a (draft of) tutorial
Implementing a new parent: a tutorial
The easiest approach for implementing a new parent is to start from a
Expand Down Expand Up @@ -50,7 +50,9 @@
extra functionalities available there? Implement iteration and
cardinality.
TODO: the tutorial should explain there how to reuse the enumerated
set of subsets, and endow it with more structure.
.. TODO::
The tutorial should explain there how to reuse the enumerated
set of subsets, and endow it with more structure.
"""

0 comments on commit 1274718

Please sign in to comment.