Skip to content

Commit 83ce41b

Browse files
committed
Version 2.0.0 upload
1 parent 7d00e3e commit 83ce41b

File tree

444 files changed

+13942
-9600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

444 files changed

+13942
-9600
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ viewed online at [dtocean.github.io](https://dtocean.github.io/), read as pdf
55
documentation or installed for offline use with the DTOcean graphical interface
66
(see [dtocean](https://github.com/DTOcean/dtocean)).
77

8+
**Version 2.0.0 of the manuals is a rewrite of the original release, focussed
9+
on the current version of the software, rather than the goals the original EU
10+
DTOcean project. This process is not not yet fully complete, so please refer to
11+
version 1.0.0 when additional detail is required.**
12+
813
## Offline Manuals
914

1015
The DTOcean Manuals installation wizard can be downloaded from the [Releases](
@@ -41,6 +46,9 @@ and packaged by:
4146
It is now maintained by Mathew Topper at [Data Only Greater](
4247
https://www.dataonlygreater.com/).
4348

49+
Gratitude is given to [Sandia Nation Labs](https://www.sandia.gov) for
50+
supporting the ongoing rewrite of this documentation.
51+
4452
## License
4553

4654
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)

conf.py

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -68,24 +68,24 @@
6868

6969
# General information about the project.
7070
project = u'DTOcean'
71-
copyright = u'2016 The DTOcean Developers'
71+
copyright = u'2016-{} The DTOcean Developers'.format(now.year)
7272
author = u'unknown'
7373

7474
# The version info for the project you're documenting, acts as replacement for
7575
# |version| and |release|, also used in various other places throughout the
7676
# built documents.
7777
#
7878
# The short X.Y version.
79-
version = u'1.0'
79+
version = u'2.0'
8080
# The full version, including alpha/beta/rc tags.
81-
release = u'1.0.0'
81+
release = u'2.0.0'
8282

8383
# The language for content autogenerated by Sphinx. Refer to documentation
8484
# for a list of supported languages.
8585
#
8686
# This is also used if you do content translation via gettext catalogs.
8787
# Usually you set "language" from the command line for these cases.
88-
language = "en"
88+
language = None
8989

9090
# There are two options for replacing |today|: either, you set today to some
9191
# non-false value, then it is used:
@@ -96,24 +96,10 @@
9696
# List of patterns, relative to source directory, that match files and
9797
# directories to ignore when looking for source files.
9898
exclude_patterns = ['_build',
99+
'data',
99100
'contents.rst',
100-
'technical/hydrodynamics.rst',
101-
'technical/electrical.rst',
102-
'technical/moorings.rst',
103-
'technical/instalation.rst',
104-
'technical/operations.rst',
105-
'technical/economics.rst',
106-
'technical/reliability.rst',
107-
'technical/environment.rst',
108-
'user/hydrodynamics.rst',
109-
'user/electrical.rst',
110-
'user/moorings.rst',
111-
'user/installation.rst',
112-
'user/operations.rst',
113-
'user/economics.rst',
114-
'user/reliability.rst',
115-
'user/environment.rst']
116-
101+
'user/database_tables.rst']
102+
117103
# The reST default role (used for this markup: `text`) to use for all
118104
# documents.
119105
#default_role = None
@@ -250,6 +236,7 @@
250236

251237
ADDITIONAL_PREAMBLE = """
252238
\setcounter{tocdepth}{4}
239+
\DeclareUnicodeCharacter{3003}{---"---}
253240
"""
254241

255242
latex_elements = {
@@ -264,9 +251,6 @@
264251

265252
# Latex figure (float) alignment
266253
#'figure_align': 'htbp',
267-
268-
# Use extended UTF8 character set
269-
'inputenc': "\\usepackage[utf8x]{inputenc}"
270254
}
271255

272256
# Grouping the document tree into LaTeX files. List of tuples

contents.rst

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,13 @@ Contents
22
========
33

44
.. toctree::
5-
:maxdepth: 1
6-
:numbered:
7-
:caption: User's Manual
8-
9-
user/abstract
10-
user/sysreq
11-
user/softinstall
12-
user/overview
13-
user/gui
14-
user/modules
15-
user/themes
16-
user/preprocessing
17-
user/references
5+
:maxdepth: 1
6+
:numbered:
7+
:caption: User Guide
188

19-
.. toctree::
20-
:maxdepth: 1
21-
:numbered:
22-
:caption: Technical Manual
23-
24-
technical/introduction
25-
technical/sysreq
26-
technical/designreq
27-
technical/datamanagement
28-
technical/mainapp
29-
technical/database
30-
technical/modules
31-
technical/themes
32-
technical/datastructures
9+
user/intro
10+
user/install
11+
user/getting_started_1
12+
user/getting_started_2
13+
user/gui
14+
user/data_preparation

data/about_menu_table.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Name,Purpose,Icon
2+
Index...,Open the user manual (if installed),|icon_manual|
3+
View Logs...,Open the directory containing the log files,
4+
About DTOcean...,Open the About dialogue,

data/about_menu_table.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# coding: utf-8
2+
3+
# Usage:
4+
# > activate _pytablewriter
5+
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data
6+
# > python about_menu_table.py > about_menu_table.rst
7+
8+
import pytablewriter
9+
from pytablewriter import Align
10+
11+
if __name__ == "__main__":
12+
writer = pytablewriter.RstGridTableWriter()
13+
writer.from_csv("about_menu_table.csv")
14+
writer.write_table()

data/context_menu_table.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Name,Sections,Branches,Purpose
2+
Inspect,"Configuration, Results",Modules,Update the output variable values to the state following execution of the selected module
3+
Reset,Configuration,Modules,"Reset modules and variables to the state prior to execution of the selected module. Note, this action is destructive and cannot be undone."
4+
Load test data...,Configuration,"Modules, Assessment",Load data from a specifically formatted python file into the variables of the selected branch

data/context_menu_table.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# coding: utf-8
2+
3+
# Usage:
4+
# > activate _pytablewriter
5+
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data
6+
# > python context_menu_table.py > context_menu_table.rst
7+
8+
import pytablewriter
9+
from pytablewriter import Align
10+
11+
if __name__ == "__main__":
12+
writer = pytablewriter.RstGridTableWriter()
13+
writer.from_csv("context_menu_table.csv")
14+
writer.write_table()

data/data_menu_table.csv

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Name,Purpose,Icon
2+
Select Database...,Open the select database dialogue,|icon_select_db|
3+
Initiate Pipeline,Confirm chosen technology type and collect top level information from the database (if selected),|icon_pipeline|
4+
Initiate Bathymetry,Allow selection of bathymetry from a site chosen from the database (if selected),|icon_bathymetry|
5+
Initiate Dataflow,Calculate required variables for technology and module selection and collect available data from database (if selected),|icon_dataflow|
6+
Export...,Export satisfied data to a datastate file,
7+
Export (mask outputs)...,Export satisfied data (excluding output variables) to a datastate file,
8+
Import...,Import a datastate file,
9+
Import (skip satisfied)...,Import a datastate file but do not overwrite satisfied variables,

data/data_menu_table.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# coding: utf-8
2+
3+
# Usage:
4+
# > activate _pytablewriter
5+
# > cd E:\Programming\Sphinx\git\dtocean.github.io\data
6+
# > python data_menu_table.py > data_menu_table.rst
7+
8+
import pytablewriter
9+
from pytablewriter import Align
10+
11+
if __name__ == "__main__":
12+
writer = pytablewriter.RstGridTableWriter()
13+
writer.from_csv("data_menu_table.csv")
14+
writer.write_table()

data/data_widget_table_table.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Icon,Purpose
2+
|icon_table_edit|,Toggle the editing mode of the table
3+
|icon_add_row|,Appends a new row to the bottom of the table
4+
|icon_remove_row|,Removes the row containing the selected cell

0 commit comments

Comments
 (0)