Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdu committed Sep 7, 2023
1 parent 707e3fa commit bef1a95
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 83 deletions.
9 changes: 0 additions & 9 deletions .readthedocs.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/source/api_reference.rst → docs/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ New in ``pyfastx`` 0.4.0
get read quality ascii string

.. py:attriubte:: quali
.. py:attribute:: quali
get read quality integer value (ascii - phred), return a list

Expand Down
8 changes: 4 additions & 4 deletions docs/source/changelog.rst → docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Version 0.6.0 (2020-01-02)
- Disabled export gzip index when building memory index

Version 0.5.10 (2019-11-20)
^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Added identifier filter function
- Remove tp_new for Read, Sequence and Identifier
Expand Down Expand Up @@ -335,7 +335,7 @@ Version 0.4.0 (2019-09-29)
- Added random access to reads from FASTQ

Version 0.3.10 (2019-09-27)
^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed GC skew exception caused by mixing unsigned with signed for division

Expand Down Expand Up @@ -409,12 +409,12 @@ Version 0.3.0 (2019-09-07)
- removed support for Python34

Version 0.2.11 (2019-08-31)
^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Support for Python 3.4

Version 0.2.10 (2019-08-28)
^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Changed fseek and fread into gzseek and gzread
- Fixed sequence cache name comparision
Expand Down
2 changes: 1 addition & 1 deletion docs/source/commandline.rst → docs/commandline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ New in ``pyfastx`` 0.5.0
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-v, --version show program version number and exit
Commands:
Expand Down
36 changes: 36 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import os

project = 'pyfastx'
copyright = '2023, Lianming Du'
author = 'Lianming Du'

with open(os.path.join(os.path.abspath('..'), 'src', 'version.h')) as fh:
__version__ = fh.read().split()[2].strip('"')

version = __version__

release = __version__

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

#html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build

if "%1" == "" goto help
set SOURCEDIR=.
set BUILDDIR=_build

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
Expand All @@ -21,10 +19,12 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
echo.https://www.sphinx-doc.org/
exit /b 1
)

if "%1" == "" goto help

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sphinx>=2.1.2
sphinx>=7.2.5
sphinx-rtd-theme>=1.3.0
60 changes: 0 additions & 60 deletions docs/source/conf.py

This file was deleted.

File renamed without changes.

0 comments on commit bef1a95

Please sign in to comment.