Skip to content

Commit 9248d8f

Browse files
authored
Merge pull request #3120 from oesteban/maint/refactor-docs-build [skip ci]
DOC: Deep revision of documentation building
2 parents f5a0358 + ed72503 commit 9248d8f

26 files changed

+238
-573
lines changed

doc/Makefile

+5-7
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ PAPEROPT_a4 = -D latex_paper_size=a4
1111
PAPEROPT_letter = -D latex_paper_size=letter
1212
ALLSPHINXOPTS = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
1313

14-
.PHONY: help clean html api htmlonly latex changes linkcheck doctest
14+
.PHONY: help clean html nipypeapi htmlonly latex changes linkcheck doctest
1515

1616
help:
1717
@echo "Please use \`make <target>' where <target> is one of"
1818
@echo " html make the HTML documentation"
19-
@echo " api make API documents only"
19+
@echo " nipypeapi make interface API documents only"
2020
@echo " latex make the LaTeX, you can set PAPER=a4 or PAPER=letter"
2121
@echo " pdf make <latex> and run the PDF generation"
2222
@echo " changes make an overview of all changed/added/deprecated" \
@@ -33,22 +33,20 @@ htmlonly:
3333
@echo
3434
@echo "Build finished. The HTML pages are in _build/html."
3535

36-
api:
37-
rm -rf api/generated
38-
python -u ../tools/build_modref_templates.py
36+
nipypeapi:
3937
rm -rf interfaces/generated
4038
python -u ../tools/build_interface_docs.py
4139
@echo "Build API docs finished."
4240

43-
html: clean examples2rst api htmlonly
41+
html: clean examples2rst nipypeapi htmlonly
4442
@echo "Build HTML and API finished."
4543

4644
examples2rst:
4745
mkdir -p users/examples
4846
../tools/make_examples.py --no-exec
4947
@echo "examples2rst finished."
5048

51-
latex: api
49+
latex: nipypeapi
5250
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
5351
@echo
5452
@echo "Build finished; the LaTeX files are in _build/latex."

doc/api/index.rst

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
.. _api-index:
22

3-
###
4-
API
5-
###
3+
###########################################
4+
Library API (application program interface)
5+
###########################################
6+
7+
Information on specific functions, classes, and methods.
68

79
:Release: |version|
810
:Date: |today|
911

10-
.. include:: generated/gen.rst
12+
.. toctree::
13+
:glob:
14+
15+
generated/*

doc/changelog/0.X.X-changelog renamed to doc/changelog/0.X.X-changelog.rst

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
0.14.0 (November 29, 2017)
22
==========================
33

4-
###### [Full changelog](https://github.com/nipy/nipype/milestone/13)
4+
(`Full changelog <https://github.com/nipy/nipype/milestone/13>`__)
55

66
* FIX+MAINT: Revision of the resource monitor (https://github.com/nipy/nipype/pull/2285)
77
* FIX: MultiProc mishandling crashes (https://github.com/nipy/nipype/pull/2301)
@@ -385,8 +385,10 @@ Release 0.9.0 (December 20, 2013)
385385
- camino.QBallMX
386386
- camino.LinRecon
387387
- camino.SFPeaks
388-
One outdated interface no longer part of Camino was removed:
388+
389+
One outdated interface no longer part of Camino was removed:
389390
- camino.Conmap
391+
390392
* ENH: Three new mrtrix interfaces were added:
391393
- mrtrix.GenerateDirections
392394
- mrtrix.FindShPeaks
@@ -713,7 +715,7 @@ Features added
713715

714716
* General:
715717

716-
- Type checking of inputs and outputs using Traits from ETS_.
718+
- Type checking of inputs and outputs using Traits from ETS.
717719
- Support for nested workflows.
718720
- Preliminary Slicer and AFNI support.
719721
- New flexible DataGrabber node.

doc/changelog/1.X.X-changelog renamed to doc/changelog/1.X.X-changelog.rst

+22-26
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
1.4.0 (December 20, 2019)
22
=========================
3-
4-
##### [Full changelog](https://github.com/nipy/nipype/milestone/37?closed=1)
3+
(`Full changelog <https://github.com/nipy/nipype/milestone/37?closed=1>`__)
54

65
* FIX: Mark strings containing regex escapes as raw (https://github.com/nipy/nipype/pull/3106)
76
* ENH: Pacify DeprecationWarnings caused by nibabel 3 pre-release (https://github.com/nipy/nipype/pull/3099)
@@ -16,17 +15,14 @@
1615
* MNT: Fix Dorota Jarecka ORCID (https://github.com/nipy/nipype/pull/3100)
1716
* MNT: Drop Python 2 support (https://github.com/nipy/nipype/pull/2654)
1817

19-
2018
1.3.1 (November 12, 2019)
2119
=========================
22-
2320
* FIX: Restore checking traits or bunch (https://github.com/nipy/nipype/pull/3094)
2421

2522

2623
1.3.0 (November 11, 2019)
2724
=========================
28-
29-
##### [Full changelog](https://github.com/nipy/nipype/milestone/34?closed=1)
25+
(`Full changelog <https://github.com/nipy/nipype/milestone/34?closed=1>`__)
3026

3127
* FIX: Fixed typo in QwarpInputSpec Trait description (https://github.com/nipy/nipype/pull/3079)
3228
* FIX: Restore ``AFNICommand._get_fname``, required by some interfaces (https://github.com/nipy/nipype/pull/3071)
@@ -52,7 +48,7 @@
5248

5349
Python 1.2.3 will be the last version to support Python 3.4.
5450

55-
##### [Full changelog](https://github.com/nipy/nipype/milestone/35?closed=1)
51+
(`Full changelog <https://github.com/nipy/nipype/milestone/35?closed=1>`__)
5652

5753
* FIX: Patch Path.mkdir for Python 2 (https://github.com/nipy/nipype/pull/3037)
5854
* FIX: Drop deprecated message argument to ``FileNotFoundError`` (https://github.com/nipy/nipype/pull/3035)
@@ -71,7 +67,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
7167
1.2.2 (September 07, 2019)
7268
==========================
7369

74-
##### [Full changelog](https://github.com/nipy/nipype/milestone/33?closed=1)
70+
(`Full changelog <https://github.com/nipy/nipype/milestone/33?closed=1>`__)
7571

7672
* FIX: Ensure ``loadpkl`` returns a not None value (https://github.com/nipy/nipype/pull/3020)
7773
* FIX: ``loadpkl`` failed when pklz file contained versioning info (https://github.com/nipy/nipype/pull/3017)
@@ -87,7 +83,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
8783
1.2.1 (August 19, 2019)
8884
=======================
8985

90-
##### [Full changelog](https://github.com/nipy/nipype/milestone/32?closed=1)
86+
(`Full changelog <https://github.com/nipy/nipype/milestone/32?closed=1>`__)
9187

9288
* FIX: Resolve/rebase paths from/to results files (https://github.com/nipy/nipype/pull/2971)
9389
* FIX: Use ``load_resultfile`` when loading a results pickle (https://github.com/nipy/nipype/pull/2985)
@@ -97,7 +93,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
9793
* FIX: Docker build (https://github.com/nipy/nipype/pull/2963)
9894
* FIX: Remove '=' signs from EddyQuad argument specifications (https://github.com/nipy/nipype/pull/2941)
9995
* FIX: Set input model to bedpostx for camino.TrackBedpostxProba (https://github.com/nipy/nipype/pull/2947)
100-
* FIX: Allow ``max_sh``not to be set (auto mode) (https://github.com/nipy/nipype/pull/2940)
96+
* FIX: Allow ``max_sh`` to not be set (auto mode) (https://github.com/nipy/nipype/pull/2940)
10197
* ENH: Update mrtrix reconst.py EstimateFOD max_sh to be able to accept list (https://github.com/nipy/nipype/pull/2990)
10298
* ENH: Let ``indirectory`` handle ``nipype.utils.filemanip.Path`` (https://github.com/nipy/nipype/pull/2989)
10399
* ENH: Add resolve/rebase ``BasePath`` traits methods & tests (https://github.com/nipy/nipype/pull/2970)
@@ -114,7 +110,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
114110
1.2.0 (May 09, 2019)
115111
====================
116112

117-
##### [Full changelog](https://github.com/nipy/nipype/milestone/31?closed=1)
113+
(`Full changelog <https://github.com/nipy/nipype/milestone/31?closed=1>`__)
118114

119115
* FIX: Parsing of filename in AlignEpiAnatPy when filename does not have + (https://github.com/nipy/nipype/pull/2909)
120116
* FIX: Import nibabel reorientation bug fix (https://github.com/nipy/nipype/pull/2912)
@@ -133,7 +129,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
133129
1.1.9 (February 25, 2019)
134130
=========================
135131

136-
##### [Full changelog](https://github.com/nipy/nipype/milestone/30?closed=1)
132+
(`Full changelog <https://github.com/nipy/nipype/milestone/30?closed=1>`__)
137133

138134
* FIX: Make positional arguments to LaplacianThickness require previous argument (https://github.com/nipy/nipype/pull/2848)
139135
* FIX: Import math and csv modules for bids_gen_info (https://github.com/nipy/nipype/pull/2881)
@@ -149,7 +145,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
149145
1.1.8 (January 28, 2019)
150146
========================
151147

152-
##### [Full changelog](https://github.com/nipy/nipype/milestone/29?closed=1)
148+
(`Full changelog <https://github.com/nipy/nipype/milestone/29?closed=1>`__)
153149

154150
* FIX: ANTS LaplacianThickness cmdline opts fixed up (https://github.com/nipy/nipype/pull/2846)
155151
* FIX: Resolve LinAlgError during SVD (https://github.com/nipy/nipype/pull/2838)
@@ -171,7 +167,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
171167
1.1.7 (December 17, 2018)
172168
=========================
173169

174-
##### [Full changelog](https://github.com/nipy/nipype/milestone/28?closed=1)
170+
(`Full changelog <https://github.com/nipy/nipype/milestone/28?closed=1>`__)
175171

176172
* FIX: Copy node list before generating a flat graph (https://github.com/nipy/nipype/pull/2828)
177173
* FIX: Update pytest req'd version to 3.6 (https://github.com/nipy/nipype/pull/2827)
@@ -193,7 +189,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
193189
1.1.6 (November 26, 2018)
194190
=========================
195191

196-
##### [Full changelog](https://github.com/nipy/nipype/milestone/27?closed=1)
192+
(`Full changelog <https://github.com/nipy/nipype/milestone/27?closed=1>`__)
197193

198194
* FIX: MapNodes fail when ``MultiProcPlugin`` passed by instance (https://github.com/nipy/nipype/pull/2786)
199195
* FIX: --fineTune arguments order for MeshFix command (https://github.com/nipy/nipype/pull/2780)
@@ -216,7 +212,7 @@ Python 1.2.3 will be the last version to support Python 3.4.
216212

217213
Hotfix release.
218214

219-
##### [Full changelog](https://github.com/nipy/nipype/milestone/26?closed=1)
215+
(`Full changelog <https://github.com/nipy/nipype/milestone/26?closed=1>`__)
220216

221217
* ENH: Allow timeouts during SLURM job status checks (https://github.com/nipy/nipype/pull/2767)
222218
* RF: Subclass non-daemon variants of all multiprocessing contexts (https://github.com/nipy/nipype/pull/2771)
@@ -225,7 +221,7 @@ Hotfix release.
225221
1.1.4 (October 31, 2018)
226222
========================
227223

228-
##### [Full changelog](https://github.com/nipy/nipype/milestone/25?closed=1)
224+
(`Full changelog <https://github.com/nipy/nipype/milestone/25?closed=1>`__)
229225

230226
* FIX: Python 2.7-3.7.1 compatible NonDaemonPool (https://github.com/nipy/nipype/pull/2754)
231227
* FIX: VRML typo (VMRL) in MeshFix (https://github.com/nipy/nipype/pull/2757)
@@ -253,7 +249,7 @@ Hotfix release.
253249
1.1.3 (September 24, 2018)
254250
==========================
255251

256-
##### [Full changelog](https://github.com/nipy/nipype/milestone/24?closed=1)
252+
(`Full changelog <https://github.com/nipy/nipype/milestone/24?closed=1>`__)
257253

258254
* FIX: Return afni.Qwarp outputs as absolute paths (https://github.com/nipy/nipype/pull/2705)
259255
* FIX: Add informative error for interfaces that fail to return valid runtime object (https://github.com/nipy/nipype/pull/2692)
@@ -272,7 +268,7 @@ Hotfix release.
272268

273269
Hot-fix release, resolving incorrect dependencies in 1.1.1 wheel.
274270

275-
##### [Full changelog](https://github.com/nipy/nipype/milestone/23?closed=1)
271+
(`Full changelog <https://github.com/nipy/nipype/milestone/23?closed=1>`__)
276272

277273
* FIX: Read BIDS config.json under grabbids or layout (https://github.com/nipy/nipype/pull/2679)
278274
* FIX: Node __repr__ and detailed graph expansion (https://github.com/nipy/nipype/pull/2669)
@@ -287,7 +283,7 @@ Hot-fix release, resolving incorrect dependencies in 1.1.1 wheel.
287283
1.1.1 (July 30, 2018)
288284
=====================
289285

290-
##### [Full changelog](https://github.com/nipy/nipype/milestone/22?closed=1)
286+
(`Full changelog <https://github.com/nipy/nipype/milestone/22?closed=1>`__)
291287

292288
* FIX: Un-set incorrect default options in TOPUP (https://github.com/nipy/nipype/pull/2637)
293289
* FIX: Copy FSCommand.version to ReconAll.version (https://github.com/nipy/nipype/pull/2656)
@@ -309,7 +305,7 @@ Hot-fix release, resolving incorrect dependencies in 1.1.1 wheel.
309305
1.1.0 (July 04, 2018)
310306
=====================
311307

312-
###### [Full changelog](https://github.com/nipy/nipype/milestone/21?closed=1)
308+
(`Full changelog <https://github.com/nipy/nipype/milestone/21?closed=1>`__)
313309

314310
* RF: Futures-based MultiProc (https://github.com/nipy/nipype/pull/2598)
315311
* FIX: Avoid closing file descriptors on Windows (https://github.com/nipy/nipype/pull/2617)
@@ -326,7 +322,7 @@ Hot-fix release, resolving incorrect dependencies in 1.1.1 wheel.
326322
1.0.4 (May 29, 2018)
327323
====================
328324

329-
###### [Full changelog](https://github.com/nipy/nipype/milestone/20?closed=1)
325+
(`Full changelog <https://github.com/nipy/nipype/milestone/20?closed=1>`__)
330326

331327
* FIX: Update logging levels in enable_debug_mode (https://github.com/nipy/nipype/pull/2595)
332328
* FIX: Set default result in DistributedPluginBase._clean_queue (https://github.com/nipy/nipype/pull/2596)
@@ -349,7 +345,7 @@ Hot-fix release, resolving incorrect dependencies in 1.1.1 wheel.
349345
1.0.3 (April 30, 2018)
350346
======================
351347

352-
###### [Full changelog](https://github.com/nipy/nipype/milestone/19?closed=1)
348+
(`Full changelog <https://github.com/nipy/nipype/milestone/19?closed=1>`__)
353349

354350
* FIX: Propagate explicit Workflow config to Nodes (https://github.com/nipy/nipype/pull/2559)
355351
* FIX: Return non-enhanced volumes from dwi_flirt (https://github.com/nipy/nipype/pull/2547)
@@ -376,7 +372,7 @@ Hot-fix release, resolving incorrect dependencies in 1.1.1 wheel.
376372
1.0.2 (March 27, 2018)
377373
======================
378374

379-
###### [Full changelog](https://github.com/nipy/nipype/milestone/16?closed=1)
375+
(`Full changelog <https://github.com/nipy/nipype/milestone/16?closed=1>`__)
380376

381377
* FIX: dcm2niix interface (https://github.com/nipy/nipype/pull/2498)
382378
* FIX: mark .niml.dset as special extension in utils.filemanip (https://github.com/nipy/nipype/pull/2495)
@@ -399,7 +395,7 @@ Hot-fix release, resolving incorrect dependencies in 1.1.1 wheel.
399395
1.0.1 (February 27, 2018)
400396
=========================
401397

402-
###### [Full changelog](https://github.com/nipy/nipype/milestone/16?closed=1)
398+
(`Full changelog <https://github.com/nipy/nipype/milestone/16?closed=1>`__)
403399

404400
* FIX: Small bug in freesurfer label2annot fill_thresh specs [#2377](https://github.com/nipy/nipype/pull/2377)
405401
* FIX: Error creating gradients in DTIRecon [#2460](https://github.com/nipy/nipype/pull/2460)
@@ -432,7 +428,7 @@ Hot-fix release, resolving incorrect dependencies in 1.1.1 wheel.
432428
1.0.0 (January 24, 2018)
433429
========================
434430

435-
###### [Full changelog](https://github.com/nipy/nipype/milestone/16?closed=1)
431+
(`Full changelog <https://github.com/nipy/nipype/milestone/16?closed=1>`__)
436432

437433
* FIX: Change to interface workdir within ``Interface.run()`` instead Node (https://github.com/nipy/nipype/pull/2384)
438434
* FIX: PBS plugin submissions (https://github.com/nipy/nipype/pull/2344)

doc/changes.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Changes in Nipype
77
=================
88

9-
.. include:: ../CHANGES
9+
.. include:: changelog/1.X.X-changelog.rst
10+
11+
.. include:: changelog/0.X.X-changelog.rst
1012

1113
.. include:: links_names.txt

0 commit comments

Comments
 (0)