-
Notifications
You must be signed in to change notification settings - Fork 267
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 #926 from NMD03/relations
Mkdocs relations and statistics
- Loading branch information
Showing
67 changed files
with
1,026 additions
and
99 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/site/docs/* | ||
!/site/docs/01_attachements | ||
|
||
/site/site |
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 |
---|---|---|
@@ -1,6 +1,21 @@ | ||
#!/bin/bash | ||
|
||
requirements_path="requirements.txt" | ||
|
||
pip freeze > installed.txt | ||
diff -u <(sort $requirements_path) <(sort installed.txt) | ||
|
||
if [ $? -eq 0 ]; then | ||
echo "All dependencies are installed with correct versions." | ||
else | ||
echo "Dependencies missing or with incorrect versions. Please install all dependencies from $requirements_path into your environment." | ||
rm installed.txt # Clean up | ||
exit 1 | ||
fi | ||
|
||
rm installed.txt # Clean up | ||
|
||
python3 generator.py | ||
cd site | ||
cd ./site/ || exit | ||
mkdocs build | ||
rsync --include ".*" -v -rz --checksum site/ [email protected]:/var/www/misp-galaxy.org |
Oops, something went wrong.