Skip to content

Commit

Permalink
Fix documentation generation (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 authored Mar 10, 2023
1 parent 513bfff commit be60f31
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ workflows:
- test-linux:
name: Python 3.7
docker-image: cimg/python:3.7
test-build-docs: true
- test-linux:
name: Python 3.8
docker-image: cimg/python:3.8
Expand All @@ -33,6 +34,9 @@ jobs:
test-packaging:
type: boolean
default: true
test-build-docs:
type: boolean
default: false
test-with-codeclimate:
type: boolean
default: false
Expand Down Expand Up @@ -95,6 +99,13 @@ jobs:
command: |
export PATH="/home/circleci/.local/bin:$PATH"
make lint
- when:
condition: <<parameters.test-build-docs>>
steps:
- run:
name: verify docs can be built successfully
command: |
make docs
- unless:
condition: <<parameters.skip-sse-contract-tests>>
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.PHONY: help install html

SPHINXOPTS =
SPHINXOPTS = -W --keep-going
SPHINXBUILD = sphinx-build
SPHINXPROJ = launchdarkly-server-sdk
SOURCEDIR = .
Expand Down
2 changes: 0 additions & 2 deletions docs/api-main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ ldclient module

.. automodule:: ldclient
:members: Context,ContextBuilder,ContextMultiBuilder,get,set_config
:special-members: __init__

ldclient.client module
----------------------

.. automodule:: ldclient.client
:members: LDClient
:special-members: __init__

ldclient.config module
----------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down

0 comments on commit be60f31

Please sign in to comment.