forked from jomjol/AI-on-the-edge-device
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parameter tooltips: Update style + support tables (#37)
* Add table support * Update CSS for tooltip * Update generate-param-doc-tooltips scripts * Add fontawesome to show admonition icon
- Loading branch information
1 parent
5767e93
commit 0f5ca2f
Showing
11 changed files
with
2,735 additions
and
17 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
10 changes: 7 additions & 3 deletions
10
tools/parameter-tooltip-generator/generate-param-doc-tooltips.sh
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 |
---|---|---|
@@ -1,15 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Checkout the documentation reposo we can extract the parameter documentation | ||
# Checkout the documentation repo branch which hosts the parameter description (tooltip on configuration page) | ||
if [ -d "AI-on-the-edge-device-docs" ] ; then | ||
# Repo already checked out, pull it | ||
cd AI-on-the-edge-device-docs | ||
git checkout main | ||
git checkout parameter-description | ||
git pull | ||
cd .. | ||
else | ||
# Repos folde ris missing, clone it | ||
# Repos folder is missing, clone it | ||
git clone https://github.com/Slider0007/AI-on-the-edge-device-docs.git | ||
cd AI-on-the-edge-device-docs | ||
git checkout parameter-description | ||
git pull | ||
cd .. | ||
fi | ||
|
||
python generate-param-doc-tooltips.py |