Skip to content

Commit

Permalink
[docs] Reorganise colorLib docs (#1936)
Browse files Browse the repository at this point in the history
Does not add any new documentation (there is already some documentation for user-facing functions). It just makes colorLib.builder the top-level documentation entry, because that’s the part the user needs to care about.
  • Loading branch information
simoncozens committed May 12, 2020
1 parent 94cb175 commit a114ec2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 26 deletions.
8 changes: 0 additions & 8 deletions Doc/source/colorLib/builder.rst

This file was deleted.

8 changes: 0 additions & 8 deletions Doc/source/colorLib/errors.rst

This file was deleted.

17 changes: 7 additions & 10 deletions Doc/source/colorLib/index.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
########
colorLib
########
#####################################################
colorLib.builder: Build COLR/CPAL tables from scratch
#####################################################

.. toctree::
:maxdepth: 1
.. automodule:: fontTools.colorLib.builder
:members: buildCPAL, buildCOLR, populateCOLRv0

builder
errors

.. automodule:: fontTools.colorLib
.. autoclass:: fontTools.colorLib.builder.ColorPaletteType
:inherited-members:
:members:
:undoc-members:
:undoc-members:
4 changes: 4 additions & 0 deletions Lib/fontTools/colorLib/builder.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
colorLib.builder: Build COLR/CPAL tables from scratch
"""
import collections
import copy
import enum
Expand Down

0 comments on commit a114ec2

Please sign in to comment.