Skip to content

Commit d736c25

Browse files
authored
Merge pull request #205 from kozistr/fix/docs
[Fix] Documentation isn't built successfully
2 parents 25618d7 + 0553b72 commit d736c25

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

docs/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@
1818

1919
# -- Project information -----------------------------------------------------
2020

21-
project = 'pytorch-optimizers'
21+
project = 'pytorch-optimizer'
2222
copyright = '2021, kozistr'
2323
author = 'kozistr'
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = '2.8.0'
27-
26+
release = '2.11.2'
2827

2928
# -- General configuration ---------------------------------------------------
3029

docs/loss_api.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ BCELoss
99
.. autoclass:: pytorch_optimizer.BCELoss
1010
:members:
1111

12-
.. _BCEFocal:
12+
.. _BCEFocalLoss:
1313

14-
BCEFocal
15-
--------
14+
BCEFocalLoss
15+
------------
1616

17-
.. autoclass:: pytorch_optimizer.BCEFocal
17+
.. autoclass:: pytorch_optimizer.BCEFocalLoss
1818
:members:
1919

2020
.. _FocalLoss:

docs/optimizer_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ SGDW
332332
.. _AdaptiveSGD:
333333

334334
AdaptiveSGD
335-
----
335+
-----------
336336

337337
.. autoclass:: pytorch_optimizer.ASGD
338338
:members:

docs/requirements.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
urllib3<2.0.0
1+
--index-url https://pypi.org/simple
2+
--extra-index-url https://download.pytorch.org/whl/cpu
23
numpy
3-
--index-url https://download.pytorch.org/whl/cpu
4-
torch==2.0.0
4+
torch==2.0.1
5+
sphinx<7
6+
sphinx_rtd_theme

0 commit comments

Comments
 (0)