Skip to content

Commit 387b34c

Browse files
Fixing all warnings on the docs
1 parent 6de3469 commit 387b34c

File tree

10 files changed

+32
-32
lines changed

10 files changed

+32
-32
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
#
1515
# SPDX-License-Identifier: Apache-2.0
1616

17+
sphinx:
18+
fail_on_warning: true
19+
1720
name: gf180mu-pdk-docs
1821
channels:
1922
- defaults

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ docs: build display
4747

4848
.ONESHELL:
4949
install-theme:
50-
@cd docs/
51-
@rm -rf sphinx_f4pga_theme
50+
@rm -rf sphinx_f4pga_theme docs/sphinx_f4pga_theme
5251
@git clone $(theme_link)
5352
@cd sphinx_f4pga_theme
5453
@python setup.py install

docs/IPs/ips.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
************
3-
IPs / Macros
4-
************
2+
***************
3+
IPs and Macros
4+
***************
55

66
.. toctree::
77
:maxdepth: 3

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2022 Efabless Corporation
1+
# Copyright 2022 GlobalFoundries PDK Authors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

docs/analog/model_parameters/LV/LV_2_5.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ where
2121
Vth0 is the measured or simulated threshold voltage obtained using the max Gm method at Vd = 0.05V. For 6.0V native NMOS, Vth0 is measured and simulated at Vd=0.1V. Vth1 is the simulated threshold voltage obtained using the BSIM equation. These two values may have a difference.
2222

2323
2.5.1 nfet_03v3 and pfet_03v3 (3.3V)
24-
..................................
24+
........................................
2525

2626
.. csv-table::
2727
:file: tables_clear/19_mos_3p3.csv
2828

2929

3030
2.5.2 NMOS 3p3 SAB PMOS 3p3 SAB
31-
...............................
31+
.....................................
3232

3333
.. csv-table::
3434
:file: tables_clear/20_MOS_3p3_SAB.csv
@@ -40,7 +40,7 @@ where
4040
- pfet_03v3_dss SAB Length on Drain side SAB DOP: 1.78um, Source Side SAB SOP: 0.48um
4141

4242
2.5.3 nfet_06v0 and pfet_06v0 (6V)
43-
................................
43+
......................................
4444

4545
.. csv-table::
4646
:file: tables_clear/21_mos_6p0.csv
@@ -52,7 +52,7 @@ where
5252
- pfet_06v0_dss Length of SAB on Drain side : 2.78um, Length of SAB on Source side: 0.28um
5353

5454
2.5.4 nfet_06v0 and pfet_06v0 (5V)
55-
................................
55+
......................................
5656

5757
.. csv-table::
5858
:file: tables_clear/22_mos_6p0_1.csv

docs/analog/model_parameters/LV/LV_8_1.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
===========
33

44
8.1.1 nfet_03v3 (3.3V)
5-
.....................
5+
............................
66

77
8.1.1.1 CV - Characteristics
88
""""""""""""""""""""""""""""
@@ -89,7 +89,7 @@
8989
:alt: I/f Noise - Characteristics
9090

9191
8.1.2 pfet_03v3 (3.3V)
92-
.....................
92+
..........................
9393

9494
8.1.2.1 CV - Characteristics
9595
""""""""""""""""""""""""""""
@@ -176,7 +176,7 @@
176176
:alt: I/f Noise - Characteristics
177177

178178
8.1.3 nfet_06v0 (6.0V)
179-
.....................
179+
..........................
180180

181181
8.1.3.1 CV - Characteristics
182182
""""""""""""""""""""""""""""
@@ -217,7 +217,7 @@
217217
:alt: I/f Noise - Characteristics
218218

219219
8.1.4 pfet_06v0 (6.0V)
220-
.....................
220+
..........................
221221

222222
8.1.4.1 CV - Characteristics
223223
""""""""""""""""""""""""""""
@@ -264,7 +264,7 @@
264264
:alt: I/f Noise - Characteristics
265265

266266
8.1.5 nfet_06v0_nvt (6.0V)
267-
.........................
267+
..............................
268268

269269
8.1.5.1 IV - Characteristics
270270
""""""""""""""""""""""""""""

docs/conf.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
import docutils
3232
import os
3333
import re
34-
# import sys
34+
import sys
3535
# sys.path.insert(0, os.path.abspath('.'))
36+
sys.path.append(os.path.abspath('open-source-pdks/docs'))
3637

3738

3839
# -- Project information -----------------------------------------------------
@@ -59,6 +60,11 @@
5960
'sphinx.ext.mathjax',
6061
'sphinx.ext.napoleon',
6162
'sphinx.ext.todo',
63+
'sphinx_pdk_roles',
64+
]
65+
66+
suppress_warnings = [
67+
'autosectionlabel.*',
6268
]
6369

6470
# Add any paths that contain templates here, relative to this directory.
@@ -120,6 +126,7 @@
120126
'venv',
121127
'Thumbs.db',
122128
'.DS_Store',
129+
'.vscode',
123130
]
124131

125132
# The name of the Pygments (syntax highlighting) style to use.
@@ -169,15 +176,15 @@
169176
# Add any paths that contain custom static files (such as style sheets) here,
170177
# relative to this directory. They are copied after the builtin static files,
171178
# so a file named "default.css" will overwrite the builtin "default.css".
172-
html_static_path = ['_static']
179+
html_static_path = ['_static','open-source-pdks/docs/_static']
173180

174181

175182
# -- Options for manual page output ------------------------------------------
176183

177184
# One entry per manual page. List of tuples
178185
# (source start file, name, description, authors, manual section).
179186
man_pages = [
180-
('gf180mcu-pdk', 'GlobalFoundries 0.18UM PDK Documentation',
187+
('gf180mcu-pdk', 'GlobalFoundries 180nm PDK Documentation',
181188
[author], 1)
182189
]
183190

docs/index.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Welcome to GlobalFoundries 0.18UM 3.3V/(5V)6V MCU PDK's documentation!
44
****************************************************************************
55

6-
.. include:: common.inc
76

87
.. toctree::
98
:hidden:
@@ -13,7 +12,7 @@ Welcome to GlobalFoundries 0.18UM 3.3V/(5V)6V MCU PDK's documentation!
1312
IPs/ips
1413
physical_verification/design_man
1514

16-
open-source-pdks/index
15+
open-source-pdks/docs/index
1716

1817
.. warning::
1918
This documentation is currently a **work in progress**.
@@ -22,11 +21,5 @@ Welcome to GlobalFoundries 0.18UM 3.3V/(5V)6V MCU PDK's documentation!
2221
:align: center
2322
:alt: GlobalFoundries PDK Logo Image.
2423

25-
26-
Current Status -- |current-status|
27-
==================================
28-
29-
.. include:: status
30-
:start-after: current_status_text
31-
24+
.. include:: status.rst
3225

docs/open-source-pdks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../third_party/open-source-pdks/docs
1+
../third_party/open-source-pdks

docs/status.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
.. include:: common.inc
2-
31
Current Status -- |current-status|
42
==================================
53

6-
.. current_status_text
4+
.. include:: common.inc
75

86
.. warning::
97
Google and GlobalFoundries are currently treating the current content as an **experimental preview** / **alpha release**.
@@ -12,5 +10,5 @@ While the GF180 process node and the PDK from which this open source release was
1210

1311
Google, GlobalFoundries and our partners are currently doing internal validation and test designs, including silicon validation or the released data and plan to publish these results.
1412

15-
The PDK will be tagged with a production version when ready to do production design, see the ":ref:`Versioning Information`" section for a full description of the version numbering scheme.
13+
The PDK will be tagged with a production version when ready to do production design, see the ":ref:`Versioning`" section for a full description of the version numbering scheme.
1614

0 commit comments

Comments
 (0)