mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12908 from tharun634/move-docs
Moved `docs.sh` script to `docs/`
This commit is contained in:
commit
e684b36b25
@ -987,7 +987,7 @@ jobs:
|
|||||||
- run: *setup_prerelease_commit_hash
|
- run: *setup_prerelease_commit_hash
|
||||||
- run:
|
- run:
|
||||||
name: Build documentation
|
name: Build documentation
|
||||||
command: ./scripts/docs.sh
|
command: ./docs/docs.sh
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: docs/_build/html/
|
path: docs/_build/html/
|
||||||
destination: docs-html
|
destination: docs-html
|
||||||
|
@ -475,7 +475,7 @@ For example ``pragma solidity >=0.4.0 <0.9.0;``.
|
|||||||
Running Documentation Tests
|
Running Documentation Tests
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
Make sure your contributions pass our documentation tests by running ``./scripts/docs.sh`` that installs dependencies
|
Make sure your contributions pass our documentation tests by running ``./docs/docs.sh`` that installs dependencies
|
||||||
needed for documentation and checks for any problems such as broken links or syntax issues.
|
needed for documentation and checks for any problems such as broken links or syntax issues.
|
||||||
|
|
||||||
Solidity Language Design
|
Solidity Language Design
|
||||||
|
@ -26,8 +26,10 @@
|
|||||||
# (c) 2016 solidity contributors.
|
# (c) 2016 solidity contributors.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
set -e
|
set -euo pipefail
|
||||||
cd docs
|
|
||||||
|
script_dir="$(dirname "$0")"
|
||||||
|
|
||||||
|
cd "${script_dir}"
|
||||||
pip3 install -r requirements.txt --upgrade --upgrade-strategy eager
|
pip3 install -r requirements.txt --upgrade --upgrade-strategy eager
|
||||||
sphinx-build -nW -b html -d _build/doctrees . _build/html
|
sphinx-build -nW -b html -d _build/doctrees . _build/html
|
||||||
cd ..
|
|
Loading…
Reference in New Issue
Block a user