Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganization/cleanup of docs #1494

Closed
wants to merge 54 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
723009f
consolidate troubleshooting section and troubleshooting.md from resou…
Aug 9, 2019
7c56bbb
update requirements.txt
Aug 9, 2019
b6d251f
ignore built html
Aug 9, 2019
ca0c699
use subdirectory index.rst files to create main toctree for maintaina…
Aug 9, 2019
ace7461
split up info about how to use documentation and where to connect wit…
Aug 9, 2019
37be929
bumping decocare to get readthedocs build working (is this really use…
Aug 9, 2019
baa4f97
removing unused dependencies for docs
Aug 9, 2019
ec30c64
starting organization of install steps (just committing & pushing to …
Aug 9, 2019
0fd598c
shift list of steps to overview
Aug 9, 2019
0682b9a
fix 'common error messages' section
Aug 9, 2019
cabb498
start to organize installation directions & consolidate flashing info
Aug 14, 2019
20b2843
fix paths to images in flashing instructions
Aug 14, 2019
439bc86
continue consolidating flashing instructions
Aug 14, 2019
3eb47fa
rough consolidation of all flashing instructions - still need to form…
Aug 15, 2019
ee5cb88
consolidate logging-in-via-console instructions that were in several …
Aug 21, 2019
4940e90
minor changes, just syncing
Aug 26, 2019
cb833f3
consolidate info about hardware into edison section & pi section, inc…
Aug 27, 2019
6491d1a
get all links working
Aug 30, 2019
b2f923b
organize by general topic instead of pushing information into "while …
Aug 30, 2019
eab9346
avoid accidental extra section
Aug 30, 2019
2adb54f
fix typo in conf.py
Aug 30, 2019
3d66824
and again
Aug 30, 2019
977308c
Add a reading list to the prep section, corresponding to remaining to…
Aug 31, 2019
2d90cd0
editing overview section for clarity. This gets into more personal ta…
Sep 2, 2019
b546f65
add missed link
Sep 2, 2019
e398ce5
move a few "tips and tricks" to other appropriate locations so they'r…
Sep 3, 2019
b9e41f7
typo
Sep 3, 2019
7b96537
consistent tense/capitalization
Sep 3, 2019
6b8f11c
reinstate the nice already-expanded-to-one-level ToC sidebar with hea…
Sep 8, 2019
a6aae9e
minor clarifying/organizing edits to collect-your-data-and-prepare
Sep 8, 2019
300f581
list wifi files separately in main sidebar
Sep 8, 2019
b68d545
a round of i.e. vs. e.g. - see https://www.grammarly.com/blog/know-yo…
Sep 8, 2019
e375eb0
add note about nightscout reports in optimize-your-settings
Sep 8, 2019
377372d
minor organizational edits to monitoring, mostly just make clear that…
Sep 8, 2019
7e7656f
minor organization edits regarding wifi options, add note about netwo…
Sep 8, 2019
5820dca
more ie/eg
Sep 8, 2019
ec20ef9
minor clarifications to autosens section; move one warning to oref1 s…
Sep 8, 2019
5f6b1ec
minor organization edits Nightscout section
Sep 8, 2019
4f893f5
minor organizational changes to oref1 section
Sep 8, 2019
acac894
fix typo in index
Sep 9, 2019
7a6d6e3
separate "how to run autotune" from "how to understand autotune" a bi…
Sep 9, 2019
98445c2
one more i.e. that snuck by, and italics I suspect don't improve read…
Sep 9, 2019
a8c50be
also reference linux guide in installation overview
Sep 9, 2019
69797e5
fix links thru hardware
Sep 9, 2019
00db9e0
finish fixing links
Sep 11, 2019
73f7be2
make sure notes about autotune using a single ISF/CR are in the main …
Sep 11, 2019
c2f6387
updates to nuts and bolts options for Edison & another soft case
Sep 11, 2019
35495ad
link to updating nightscout along with making profile changes
Sep 11, 2019
f9c2972
put info about how openaps/nightscout work together in main nightscou…
Sep 11, 2019
41794f9
empirically checking rtd url_resolver default sorry
Sep 11, 2019
9ea76a6
get rtd links working regardless of project docs are served in
Sep 11, 2019
ac245a1
remove extra whitespace
Sep 11, 2019
15520c4
just call NS-rig communications troubleshooting nightscout
Sep 11, 2019
13b8c8e
move note about multiple CRs/ISFs out of pump-specific section to Aut…
Sep 12, 2019
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ _book
*.mobi
*.pdf
.*.sw[op]

# All build output (HTML etc.)
build
denv
41 changes: 16 additions & 25 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@
'sphinx.ext.autodoc',
'sphinx.ext.todo',
# 'alabaster',
'sphinx.ext.autosectionlabel', # Auto-generate section labels.
]

# Prefix document path to section labels, otherwise autogenerated labels would look like 'heading'
# rather than 'path/to/file:heading'
autosectionlabel_prefix_document = True

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down Expand Up @@ -125,7 +130,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#html_theme = 'default`
html_theme = 'sphinx_rtd_theme'


extra_nav_links = {
Expand All @@ -138,31 +143,17 @@
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
# alabaster
theme_github_user = 'openaps'
theme_github_repo = 'docs'
html_theme_options = {
'show_related': True,
'github_user': theme_github_user,
'github_repo': theme_github_repo,
'logo': 'openaps-logo.png',
# TODO: ???? doesn't work?
'extra_nav_links': extra_nav_links,
'collapse_navigation': False,
'sticky_navigation': False,
'navigation_depth': 3,
'titles_only': False
}

"""
html_theme = 'default'
html_theme_options = {
'display_github': True,
'github_user': 'openaps',
'github_repo': 'docs',
}
import sphinx_rtd_theme
html_theme_path = [sphinx_rtd_theme.get_html_theme_path( )]
"""


# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = []
# html_theme_path = []
# html_theme_path = [alabaster.get_path( )]

# The name for this set of Sphinx documents. If None, it defaults to
Expand Down Expand Up @@ -419,11 +410,12 @@
#epub_use_index = True

github_doc_root = 'https://github.com/openaps/docs/tree/master/'
hosted_root = 'http://localhost:8000/'
hosted_root = os.environ.get('HOSTEDROOT', 'http://localhost:8000/') # Allow setting custom root in local .env file for serving static files
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
rtd_version = os.environ.get('READTHEDOCS_VERSION')
hosted_root = 'https://openaps.readthedocs.org/en/%s/' % rtd_version
rtd_domain = os.environ.get('READTHEDOCS_PROJECT')
hosted_root = 'https://%s.readthedocs.org/en/%s/' % (rtd_domain, rtd_version)
def setup(app):
app.add_config_value('recommonmark_config', {
# 'url_resolver': lambda url: github_doc_root + url,
Expand All @@ -432,5 +424,4 @@ def setup(app):
'enable_auto_doc_ref': True,
'enable_eval_rst': True,
}, True)
app.add_transform(AutoStructify)

app.add_transform(AutoStructify)
272 changes: 0 additions & 272 deletions docs/docs/Build Your Rig/OpenAPS-install.md

This file was deleted.

76 changes: 0 additions & 76 deletions docs/docs/Build Your Rig/edison-install.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/docs/Build Your Rig/index.rst

This file was deleted.

21 changes: 21 additions & 0 deletions docs/docs/Build Your Rig/install-overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Installing OpenAPS on your rig

Getting OpenAPS running on your rig generally takes five steps:

1. **Jubilinux installation** (called "flashing" the Edison - Pi users can skip to step 2). This may already be done for you if you purchased a pre-flashed Edison board.
2. **Getting first wifi network connection and installing "dependencies"** (helper code that make all the OpenAPS code function). This is done using what is called the "bootstrap" script.
3. **Installing your OpenAPS loop**. This is done using what is called the "setup" script.
4. **Watching the Pump-loop Log**. This is an important, required step. You need to be familiar with how to read and access your logs.
5. **Finish your setup**: all the polishing steps to your OpenAPS setup. Things like optimizing your settings, preferences, BT-tethering, IFTTT, etc.

Going through steps 1-2 may take about 1-3 hours depending on your internet connection, whether the edison was pre-flashed, and comfort level with the instructions. At the end of the bootstrap script (step 2), you will be asked if you want to continue on with the set-up script (step 3). If you need to take a break and come back to step 3 later, you can answer "no" to continuing on and come back later.

Before you start, it's a good idea to have some basic familiarity with using the command line on your computer, via a program like Terminal (on Mac) or Command Line (on Windows). This will be helpful not just for initial installation, but for monitoring and adjusting your setup later. [Here's a good introduction to using Terminal on Mac.](https://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line) You can also reference the [generally-useful Linux commands](<../Troubleshooting/General_linux_troubleshooting>) from the troubleshooting guide.

Some conventions used in these docs:

* Wherever you see text that is formatted `like this`, it is a code snippet. You should copy and paste those code snippets instead of attempting to type these out; this will save you debugging time for finding your typos.
* Double check that your copy-paste has copied correctly. Sometimes a paste may drop a character or two and that will cause an error in the command that you are trying to execute. Sometimes, depending on what step you are doing, you may not see the issue. So, do make a point of double checking the paste before pressing return.
* You will see a <tt>$</tt> at the beginning of many of the lines of code. This
indicates that it is to be entered and executed at the terminal prompt. Do not type in the dollar sign <tt>$</tt>.
* Wherever there are `<bracketed_components>` in the code, these are meant for you to insert your own information. Most of the time, it doesn't matter what you choose **as long as you stay consistent throughout this guide**. That means if you choose `myedison` as your `<edisonhostname>`, you must use `myedison` every time you see `<edisonhostname>`. Do not include the `< >` brackets in your commands when you enter them. So for the example above, if the code snipped says `ssh root@<edisonhostname>.local`, you would enter `ssh [email protected]`
13 changes: 0 additions & 13 deletions docs/docs/Build Your Rig/keeping-up-to-date.md

This file was deleted.

Loading