Skip to content

Add stable/ and dev/ versions of UserGuide#110

Closed
lilyminium wants to merge 4 commits intoMDAnalysis:masterfrom
lilyminium:stable
Closed

Add stable/ and dev/ versions of UserGuide#110
lilyminium wants to merge 4 commits intoMDAnalysis:masterfrom
lilyminium:stable

Conversation

@lilyminium
Copy link
Member

Parallel to #2968 and #2970, this creates copies of 1.0.0 to stable/ and 2.0.0-dev0 dev/ versions of the User Guide.

@pep8speaks
Copy link

pep8speaks commented Oct 21, 2020

Hello @lilyminium! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-10-21 00:38:17 UTC

@lilyminium lilyminium requested a review from orbeckst October 22, 2020 08:22
Copy link
Member

@orbeckst orbeckst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One potential fix (for ... else?) and question regarding URL.

if ver["version"] == version:
ver["url"] = os.path.join(URL, version)
break
else:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this else correspond to for to avoid the "multiple dev" problem?

- |
if [[ ${TRAVIS_PULL_REQUEST} == "false" ]]; then
python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
export URL="https://userguide.mdanalysis.org/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you prefer to set the URL in the script instead of in the travis settings? You could add it to the global variables at the top of travis.yml as one of the major configuration settings.

There are also still all the other variables that remain in the script. Why is URL moved?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably just absentmindedness. This now needs to be replaced with something similar to the gh-actions pipeline in mdanalysis proper (MDAnalysis/mdanalysis#3051)

@lilyminium
Copy link
Member Author

We should replace this with GH-actions.

@lilyminium lilyminium closed this Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants