-
DragonForce an embedded help solution inside Manage.
-
Display rendered help content in a new tab when you click a Help Button.
-
You have two days.
-
Give users access to docs inside the product.
-
Do it using open source technology.
-
Make the content single source.
-
Make everything automatic.
-
Separate docs releases from code releases.
-
Asciidoctor source content.
-
Middleman Static Site Builder.
-
Franklin Static Site Framework.
-
GitLab on-premise hosted.
-
Help pages named the same as the PHP page to document.
-
index.php > index.adoc > index.html
. -
Javascript button loaded files from a pre-set location in webroot.
update-newadmin-docs.sh
#!/bin/bash
if [ ! -d /docs/ ]; then
git clone ssh://git@gitlab:12345/docs/embedded-docs.git /docs/
fi
cd /docs/ && \
git pull && \
git reset --hard HEAD && \
rsync --delete-after -a /docs/build/ /var/www/docs/
sleep 300
-
Resides in the tools directory of the app webroot.
-
Watches for changes per the
sleep
interval. -
Sync html changes from Git to
/var/www/docs
.
-
Documented hack in
README.adoc
to capture baseline state. -
Made an Epic with Stories and Tasks.
-
Employed Tech Writing skills to make solid Stories and Project Docs.
-
Worked with Hackathon engineer to hand over knowledge to dev team.
-
Worked iteratively with developers to "get it right".
-
Things work OK.
-
Things have to change for my sanity.
-
URL matching requires the exact filename.
-
Can’t use a nested file tree to group common files.
-
Changing destination html file requires changes to Help Button Javascript.
-
Missing help files cause Javascript browser errors in Developer environments.
-
Changing anything except content requires a code release and testing.
-
https://writethedocs.slack.com #general room.