Skip to content

Commit

Permalink
Try Gthnk on docs front page
Browse files Browse the repository at this point in the history
remove diamond methods from docs
propagate version to docs index page
  • Loading branch information
iandennismiller committed Jul 2, 2023
1 parent c69e63e commit aa3e5aa
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
3 changes: 1 addition & 2 deletions docs/_templates/sidebarintro.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<h3>Resources</h3>
<ul>
<li><a href="http://gthnk.com">gthnk.com</a></li>
<li><a href="http://www.gthnk.com">www.gthnk.com</a></li>
<li><a href="http://github.com/iandennismiller/gthnk">GitHub Project Page</a></li>
<li><a href="http://github.com/iandennismiller/gthnk/issues">Issue Tracker</a></li>
<li><a href="https://pypi.python.org/pypi/gthnk">Python Project on PyPI</a></li>
<li><a href="http://diamond-methods.org">Diamond Methods</a></li>
</ul>
25 changes: 22 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,32 @@
.. gthnk documentation master file
Overview
--------
========

- **Gthnk** presents a **journal** consisting of many **entries**.
- **Entries** are created using plain old text files, which **Gthnk** imports once per day.
- Any text editor can be used to add information to **Gthnk**.
- **Entries** are searchable using the embedded **Gthnk** server, which can be accessed with a browser.
- Plain-text enables backup/restore via hardcopy (e.g. paper) for long-term archival.
- **Days** and **Entries** are searchable from the command line and web UI.

Try Gthnk
---------

Use Docker to run Gthnk with all files stored locally in ``~/.gthnk``.

::

docker run -d --rm \
--name gthnk \
-p 1620:1620 \
-e TZ=America/Toronto \
-v ~/.gthnk:/opt/gthnk/var \
iandennismiller/gthnk:0.8.1

The default text file where you will record journal entries is ``~/.gthnk/journal.txt``.

Open ``journal.txt`` with a text editor to add new journal entries.

Open http://localhost:1620 to access the user interface.

Introduction
------------
Expand Down
1 change: 1 addition & 0 deletions src/dev.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ docs:

version-propagate:
$(REPLACE_VERSION_CMD) Readme.rst && rm Readme.rst.bak
$(REPLACE_VERSION_CMD) docs/index.rst && rm docs/index.rst.bak
$(REPLACE_VERSION_CMD) docs/intro/quick-start.rst && rm docs/intro/quick-start.rst.bak
$(REPLACE_VERSION_CMD) docs/intro/installation.rst && rm docs/intro/installation.rst.bak
$(REPLACE_VERSION_CMD) docs/_static/docker-compose.yaml && rm docs/_static/docker-compose.yaml.bak
Expand Down

0 comments on commit aa3e5aa

Please sign in to comment.