Add Travis-CI tests for docs#1784
Conversation
This commit adds minor changes to comply with doc style guides. Also fixes a minor warning in conf.py. Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
This commit adds to Travis-CI checks for the documentation, similar to aboutcode. Adds sphinx-build, linkcheck and doc8 style checks for the docs. Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
|
@pombredanne @MaJuRG The |
|
@MaJuRG any idea why this fails? |
|
I think packages mentioned in |
|
Sorry, Updated the comment. |
|
@AyanSinhaMahapatra In this case I think we will need the We want people to be able to build the docs locally as well, not just on the CI systems. ScanCode is a bit unconventional in this way (i.e. having to add deps manually etc), but ScanCode is used in many places where there may be no external internet connection so we want to be fully self-contained for these types of scenarios. |
|
@MaJuRG I see there are .LICENSE and .ABOUT files also, along with the .whl files. So the LICENSE file is the same as the LICENSE file inside the wheel (and renamed similar to wheel name)? Also, where do I get corresponding ABOUT files? |
|
Also, Sphinx itself has another dozen requirements. Do I add wheels for them also? |
|
@AyanSinhaMahapatra I believe we will want to add the sphix deps as well, if they are not already present in the We probably do not need to worry about the See: https://github.com/nexB/aboutcode-toolkit/blob/develop/SPECIFICATION.rst for details on |
|
@pombredanne @MaJuRG Since we are enabling local documentation builds by installing dependencies in the time of initial configuration, isn't it a good idea also build the documentation then inside |
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
bacd2da to
afa6760
Compare
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
|
@AyanSinhaMahapatra Not sure that we want to build docs have automatically on I think having the users run |
|
This looks good to me @AyanSinhaMahapatra, however the travis build is failing for some reason. I think it got hung up on installing some base packages for macOS. I think if you re-trigger the build we should be good to go. |
Sure! I'll add that somewhere. Triggering a rebuild so the tests pass. |
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
c6644e6 to
f276398
Compare
|
@MaJuRG Checks Passed. |
|
@pombredanne This looks good to me, can you take a look and merge? |
This PR adds Travis-CI checks for documentation, similar to that in aboutcode. It also adds the requirements file for ReadTheDocs build and minor doc style fixes.