Skip to content

Omnibus backport for 1.4.x #3146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 41 commits into from
Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
28b8b8a
DOC: Deduplicate code for Sphinx's APIdoc generation
oesteban Dec 20, 2019
722bd64
DOC: Deep revision of documentation building
oesteban Dec 21, 2019
c68e3b9
fix: last release changelog
oesteban Dec 21, 2019
48f78d0
enh: accept a milestone number in the ``update_changes.sh`` script
oesteban Dec 21, 2019
0ce15de
fix: remove unnecessary line [skip ci]
oesteban Dec 21, 2019
a51b95a
DOC: Documentation overhaul
oesteban Dec 21, 2019
204c0bd
fix: circle.yml file
oesteban Dec 29, 2019
6de90c5
fix: add modified specs
oesteban Dec 30, 2019
f763008
sty: black
oesteban Dec 30, 2019
1e55bc6
fix: make specs after black
oesteban Dec 30, 2019
f5f7314
maint: remove unused ``build_docs.py`` script
oesteban Dec 30, 2019
9967f25
fix: small typos, pep8 errors, etc.
oesteban Dec 30, 2019
45a6bfc
Update .zenodo.json - added Hrvoje Stojic
hstojic Dec 23, 2019
7c90bd8
MNT: Update mailmap
effigies Dec 30, 2019
d7bef76
change ANTS number_of_time_steps from Float to Int
Dec 20, 2019
218a63d
Apply suggestions from code review
oesteban Jan 1, 2020
9224a6f
Apply suggestions from code review
oesteban Jan 1, 2020
be8d9a9
fix: minimal fixes in ordering and links
oesteban Jan 1, 2020
be900d1
fix: links to interface bases when showing inheritance
oesteban Jan 1, 2020
8b5dab1
Apply suggestions from code review
oesteban Jan 1, 2020
46d8f2b
Apply suggestions from code review
oesteban Jan 1, 2020
022dea5
Apply suggestions from code review
oesteban Jan 1, 2020
ff7dd7d
Update doc/interfaces.rst
oesteban Jan 1, 2020
da67d71
fix: typos and links in fmri auditory example
oesteban Jan 1, 2020
5bdaaf2
fix: updates to ``make_examples.py``
oesteban Jan 1, 2020
9f99aaf
fix: miscellaneous improvements and fixes
oesteban Jan 1, 2020
879c556
fix: documentation build at readthedocs
oesteban Jan 1, 2020
3335c1b
doc: fix sphinx's latex build
oesteban Jan 2, 2020
21ecd6a
fix: strings too long
oesteban Jan 2, 2020
9ef8c95
fix: codacy issues
oesteban Jan 2, 2020
3e2e89f
DOC: Bring examples generation back to ``doc/conf.py``
oesteban Jan 2, 2020
d8b89aa
DOC: Revise generation of examples to work in RTD
oesteban Jan 2, 2020
4b8d467
FIX: Repair aftermath of docs refactor
oesteban Jan 2, 2020
d576418
fix: revise some r-strings in SPM's EstimateContrast
oesteban Jan 2, 2020
aaf677a
sty: black
oesteban Jan 2, 2020
3b8f228
FIX: Can't seem to import workflows from niflows in CircleCI
oesteban Jan 2, 2020
5bc2777
fix: update imports nipype.workflows -> niflow.nipyp1.workflows
oesteban Jan 2, 2020
f122323
pin: new niflows version 0.4.0
oesteban Jan 2, 2020
414fa39
fix: mapnode to generate result file when crashes in single node mode
satra Jan 5, 2020
6df7842
enh: simplify test further
satra Jan 5, 2020
4953418
DOC: Update changelog to include backported PRs
effigies Jan 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .circleci/build_docs.sh

This file was deleted.

60 changes: 52 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ _run_codecov_smoke: &_run_codecov_smoke

version: 2
jobs:

compare_base_dockerfiles:
docker:
- image: docker:17.10.0-ce-git
Expand Down Expand Up @@ -158,13 +157,6 @@ jobs:
- run: *_run_codecov_coverage
- store_artifacts: *store_artifacts_kwds
- store_test_results: *store_artifacts_kwds
- run:
name: Build docs
no_output_timeout: 30m
environment: *test_environment
command: bash -ux /home/circleci/nipype/.circleci/build_docs.sh
- store_artifacts:
path: /home/circleci/work/docs
- run:
name: Save Docker images to workspace if on master
no_output_timeout: 60m
Expand Down Expand Up @@ -394,10 +386,44 @@ jobs:
ssh-add ~/.ssh/id_ed25519
/home/circleci/nipype/tools/feedstock.sh

build_docs:
docker:
- image: python:3.7.4
working_directory: /tmp/src/nipype
environment:
- FSLOUTPUTTYPE: 'NIFTI'
steps:
- checkout
- run:
name: Check Python version and upgrade pip
command: |
python --version
python -m pip install -U pip
- run:
name: Install graphviz
command: |
apt-get update
apt-get install -y graphviz
- run:
name: Install Requirements (may contain pinned versions)
command: python -m pip install -r doc/requirements.txt
- run:
name: Install NiPype
command: python -m pip install ".[doc]"
- run:
name: Build documentation
command: make -C doc html
- store_artifacts:
path: /tmp/src/nipype/doc/_build/html

workflows:
version: 2
build_test_deploy:
jobs:
- build_docs:
filters:
tags:
only: /.*/
- pypi_precheck:
filters:
branches:
Expand All @@ -406,21 +432,39 @@ workflows:
only: /.*/
- compare_base_dockerfiles:
filters:
branches:
ignore:
- /docs?\/.*/
tags:
only: /.*/
- test_pytest:
filters:
branches:
ignore:
- /docs?\/.*/
tags:
only: /.*/
requires:
- compare_base_dockerfiles
- test_fmri_fsl_spm:
filters:
branches:
ignore:
- /docs?\/.*/
requires:
- compare_base_dockerfiles
- test_fmri_spm_dartel_multiproc:
filters:
branches:
ignore:
- /docs?\/.*/
requires:
- compare_base_dockerfiles
- test_fmri_spm_nested_fsl_feeds:
filters:
branches:
ignore:
- /docs?\/.*/
requires:
- compare_base_dockerfiles
- deploy_dockerhub:
Expand Down
5 changes: 2 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ src/
.git

# other
docs/**/*
docs/
doc/**/*
doc/
.cache/
.circle/**/*
.circle/
circle.yml
rtd_requirements.txt
Vagrantfile
.travis.yml
.mailmap
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Gio Piantoni <[email protected]>
Guillaume Flandin <[email protected]>
Hans Johnson <[email protected]> <[email protected]>
Horea Christian <[email protected]> <[email protected]>
Hrvoje Stojic <[email protected]>
Isaac Schwabacher <[email protected]>
Jakub Kaczmarzyk <[email protected]>
James Kent <[email protected]>
Expand Down
5 changes: 5 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,11 @@
{
"name": "Blair, Ross"
},
{
"affiliation": "Max Planck UCL Centre for Computational Psychiatry and Ageing Research, University College London",
"name": "Stojic, Hrvoje",
"orcid": "0000-0002-9699-9052"
},
{
"affiliation": "The University of Texas at Austin",
"name": "Floren, Andrew",
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ include MANIFEST.in
include README
include THANKS
include Makefile
include build_docs.py
include setup_egg.py
include doc/documentation.zip
include nipype/COMMIT_INFO.txt
Expand Down
197 changes: 0 additions & 197 deletions build_docs.py

This file was deleted.

Loading