-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use mkdocs-material 9. Bumping major version of mkdocs to 9. It includes some nice improvements to search but nothing else relevant to our docs. Also picking up python 3.11 and nginx 1.22. * build: Docker cleanup/update. - Use Alpine version of nginx image (23MB instead of 142MB) - Fix MIME type for rss feeds. - Clean up .gitignore and .dockerignore. - Ensure scripts fail on error.
- Loading branch information
1 parent
753796c
commit cf067a9
Showing
10 changed files
with
39 additions
and
24 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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
bin/build.sh | ||
Dockerfile | ||
README.md | ||
.git | ||
.gitignore | ||
.git | ||
.github | ||
LICENSE | ||
README.md | ||
|
||
site/ | ||
bin/build.sh | ||
site | ||
.cache |
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
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 |
---|---|---|
@@ -1,19 +1,27 @@ | ||
#!/bin/bash -e | ||
#!/usr/bin/env bash | ||
# Requires docker 17.05 or higher | ||
|
||
set -e | ||
|
||
echo "" | ||
echo "=================================" | ||
echo "====================================" | ||
echo " Building dcrdevdocs docker image " | ||
echo "=================================" | ||
echo "====================================" | ||
echo "" | ||
|
||
docker build -t decred/dcrdevdocs . | ||
IMAGE_NAME=decred/dcrdevdocs | ||
|
||
if [ "$1" != "" ]; then | ||
IMAGE_NAME=$1 | ||
fi | ||
|
||
docker build -t $IMAGE_NAME . | ||
|
||
echo "" | ||
echo "===================" | ||
echo " Build complete" | ||
echo "===================" | ||
echo "" | ||
echo "You can now run dcrdevdocs with the following command:" | ||
echo " docker run -d --rm -p <local port>:80 decred/dcrdevdocs:latest" | ||
echo " docker run -d --rm -p <local port>:80 $IMAGE_NAME:latest" | ||
echo "" |
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,4 +1,6 @@ | ||
#!/bin/bash -e | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
echo "" | ||
echo "=========================================" | ||
|
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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
mkdocs-material==8.2.8 | ||
mkdocs-material==9.0.6 | ||
mkdocs-markdownextradata-plugin==0.2.4 |