Skip to content

Commit

Permalink
minor documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Oct 10, 2022
1 parent da6fad5 commit dfcccc9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arkime/patch/footer_links.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ index 50e30c99..d67dfb36 100644
Arkime v{{molochVersion}} |
- <a href="https://arkime.com">arkime.com</a>
+ <a href="https://arkime.com">arkime.com 🦉</a>
+ | <a href="/readme">Malc⦿lm 📄</a>
+ | <a href="/readme/">Malc⦿lm 📄</a>
+ | <a href="/dashboards">Dashboards 📊</a>
<span v-if="responseTime && !loadingData">
- | {{ responseTime | commaString }}ms
Expand Down
3 changes: 2 additions & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ A minute or so after starting Malcolm, the following services will be accessible
- PCAP upload (sftp): sftp://[email protected]:8022/files/
- Host and subnet name mapping editor: https://localhost/name-map-ui/
- NetBox: https://localhost/netbox/
- Account management: https://localhost:488/
- Account management: https://localhost:488/
- Documentation: https://localhost/readme/
```

The above example will result in the following artifacts for distribution as explained in the script's output:
Expand Down
1 change: 1 addition & 0 deletions docs/ubuntu-install-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ In a few minutes, Malcolm services will be accessible via the following URLs:
- Host and subnet name mapping editor: https://localhost/name-map-ui/
- NetBox: https://localhost/netbox/
- Account management: https://localhost:488/
- Documentation: https://localhost/readme/
NAME COMMAND SERVICE STATUS PORTS
malcolm-api-1 "/usr/local/bin/dock…" api running (starting) …
Expand Down
1 change: 1 addition & 0 deletions scripts/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ def start():
eprint(" - Host and subnet name mapping editor: https://localhost/name-map-ui/")
eprint(" - NetBox: https://localhost/netbox/\n")
eprint(" - Account management: https://localhost:488/\n")
eprint(" - Documentation: https://localhost/readme/\n")
else:
eprint("Malcolm failed to start\n")
eprint("\n".join(out))
Expand Down
3 changes: 1 addition & 2 deletions scripts/malcolm_appliance_packager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ if mkdir "$DESTDIR"; then
pushd .. >/dev/null 2>&1
DESTNAME="$RUN_PATH/$(basename $DESTDIR).tar.gz"
README="$RUN_PATH/$(basename $DESTDIR).README.txt"
README_HTML="$RUN_PATH/$(basename $DESTDIR).README.html"
docker run --rm --entrypoint /bin/bash "$(grep -E 'image: *malcolmnetsec/arkime' "$DESTDIR/docker-compose.yml" | awk '{print $2}')" -c "cat /opt/arkime/doc/README.html" > "$README_HTML" || true
cp $VERBOSE "$SCRIPT_PATH/install.py" "$RUN_PATH/"
cp $VERBOSE "$SCRIPT_PATH/malcolm_common.py" "$RUN_PATH/"
tar -czf $VERBOSE "$DESTNAME" "./$(basename $DESTDIR)/"
Expand Down Expand Up @@ -161,6 +159,7 @@ if mkdir "$DESTDIR"; then
echo " - Host and subnet name mapping editor: https://localhost/name-map-ui/" | tee -a "$README"
echo " - NetBox: https://localhost/netbox/" | tee -a "$README"
echo " - Account management: https://localhost:488/" | tee -a "$README"
echo " - Documentation: https://localhost/readme/" | tee -a "$README"
popd >/dev/null 2>&1
popd >/dev/null 2>&1
popd >/dev/null 2>&1
Expand Down
2 changes: 1 addition & 1 deletion shared/bin/service_check_passthrough.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ EOF
<header><title>$SERVICE Disabled</title></header>
<body>
<h1>The local service $SERVICE has been disabled.</h1>
<p>Refer to the <a href="/readme" onclick="javascript:event.target.port=443">Malcolm documentation</a>.</p>
<p>Refer to the <a href="/readme/" onclick="javascript:event.target.port=443">Malcolm documentation</a>.</p>
</body>
</html>
EOF
Expand Down

0 comments on commit dfcccc9

Please sign in to comment.