Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ COPY scripts/entrypoint.sh /docs/entrypoint.sh
RUN chmod 755 /docs/entrypoint.sh

ENTRYPOINT ["sh", "/docs/entrypoint.sh"]
CMD ["serve", "--dev-addr=0.0.0.0:8000"]
CMD ["serve", "--dev-addr=0.0.0.0:8011"]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,13 @@ docker run --rm -it \
klakegg/html-proofer:3.19.2 \
--allow-hash-href --check-html --empty-alt-ignore --disable-external
```

#### Deploying new Testing Images

To facilitate developing the user-documentation on update of this repo you should push new containers
so that they can be used for dev.

```shell
docker build --platform linux/amd64 -t hub.opensciencegrid.org/opensciencegrid/path-portal-documentation:latest .
docker push hub.opensciencegrid.org/opensciencegrid/path-portal-documentation:latest
```
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ repo_name: osg-htc/user-documentation
theme:
features:
- navigation.tabs
- content.tabs.link
name: material
logo: assets/PATh_Logo_Round_Color_White_Border.png
favicon: assets/PATh_Logo_Round_Color.png
Expand All @@ -27,6 +28,9 @@ markdown_extensions:
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true

extra_css:
- stylesheets/code-highlight.css
Expand Down
4 changes: 3 additions & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ python3 scripts/link-docs.py

echo "I have built the User Documentation"

mkdocs "$@"
cd /docs

exec mkdocs "$@"