-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #913 from RedHatInsights/psav/remove_antora_docs
Removing Antora
- Loading branch information
Showing
204 changed files
with
2,673 additions
and
19,368 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docs/site-readme.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,24 +2,7 @@ | |
|
||
set -e | ||
|
||
|
||
if [ ! -f docs/build/node_modules/.bin/jsonschema2md ]; then | ||
echo "You don't have jsonschema2md, installing it..." | ||
cd docs/build/ | ||
if [ ! -d node_modules ]; then | ||
mkdir node_modules | ||
fi | ||
npm install @adobe/[email protected] | ||
cd - | ||
fi | ||
|
||
|
||
if [ ! -f docs/build/node_modules/.bin/jsonschema2md ]; then | ||
echo "ERROR: Could not find jsonschema2md, please check installation above" | ||
exit 1 | ||
fi | ||
|
||
./docs/build/node_modules/.bin/jsonschema2md -d controllers/cloud.redhat.com/config/ -o docs/appconfig -e json | ||
|
||
rm out/schema.json | ||
rmdir out | ||
python -m venv docs/build/venv | ||
source docs/build/venv/bin/activate | ||
pip install json-schema-for-humans==0.47 | ||
generate-schema-doc --config template_name=md controllers/cloud.redhat.com/config/schema.json docs/api_ref.md |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.