Skip to content

adding rtd docs - #7

Merged
choldgraf merged 6 commits into
developfrom
docs_again
Feb 13, 2020
Merged

choldgraf merged 6 commits into
developfrom
docs_again

Conversation

@choldgraf

Copy link
Copy Markdown
Member

No description provided.

@chrisjsewell

Copy link
Copy Markdown
Member

Do you know how to use pre-commit? Let me know if you need any help.

@choldgraf

Copy link
Copy Markdown
Member Author

yep - waiting for it to install now :-)

@choldgraf

Copy link
Copy Markdown
Member Author

woo - got it working, latest push should fix the flakiness

@chrisjsewell

Copy link
Copy Markdown
Member

We might also want to add the document build to the Travis CI. For example as I do here: https://github.com/chrisjsewell/ase-notebook/blob/master/.travis.yml

@choldgraf

choldgraf commented Feb 13, 2020 •

Copy link
Copy Markdown
Member Author

@chrisjsewell agree - usually I do this in a CircleCI job because then it's quite easy to build a preview that you can click on before merging...you +1 on me adding a PR that does this? (probably later on tonight)

@chrisjsewell

Copy link
Copy Markdown
Member

Sounds good to me

@choldgraf

Copy link
Copy Markdown
Member Author

hmmm weird - I've got flake8 and black both passing locally...I'm not sure why travis isn't passing

@chrisjsewell

Copy link
Copy Markdown
Member

Have you actually installed/run pre-commit though, all of the errors are from trailing whitespace which are 'fixed' by the trailing-whitespace pre-commit hook

@choldgraf

Copy link
Copy Markdown
Member Author

Yep, I've got this in the outputs from my commit:

Trim Trailing Whitespace.................................................Passed

Weird...

@chrisjsewell

Copy link
Copy Markdown
Member

Strange? Are there still trailing white spaces in your local files, as shown in the travis diff: https://travis-ci.org/ExecutableBookProject/myst_parser/jobs/649830302#L352

@choldgraf

Copy link
Copy Markdown
Member Author

Not at the computer now, but I just had a thought - I bet it is CRLF vs LF carriage returns. Will check when I am back at home

@choldgraf

Copy link
Copy Markdown
Member Author

sweet - tests passed, gonna merge and see if RTD works too

@choldgraf
choldgraf merged commit 6cfbbe5 into develop Feb 13, 2020
@choldgraf
choldgraf deleted the docs_again branch February 13, 2020 11:37
choldgraf added a commit that referenced this pull request Feb 13, 2020
choldgraf added a commit that referenced this pull request Feb 13, 2020
choldgraf added a commit that referenced this pull request Feb 13, 2020
choldgraf added a commit that referenced this pull request Feb 13, 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.

2 participants