Skip to content

Commit

Permalink
updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Enquier committed May 2, 2023
1 parent c5fddac commit 23e4671
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 120 deletions.
5 changes: 1 addition & 4 deletions docs/about.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
About
***************

View Editor is a web-based environment designed to interact with a
View Editor (VE) is a web-based environment designed to interact with a
systems model. VE is a document oriented view of the model elements,
which are stored in OpenMBEE's Model Management Server (MMS). Its purpose is to provide real and
true data through the web so that users may interact with actual model
Expand All @@ -25,6 +25,3 @@ Authors can use model data, and share content across View Editor, in
documents by **cross referencing** (see `Use Cross
References <#use-cross-references>`__ )

.. image:: media/image1.png
:width: 5.90069in
:height: 3.6519in
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
copyright = '2013-2023, OpenMBEE Open Source Community'
author = 'OpenMBEE Open Source Community'

release = '0.1'
version = '5.0.0'
release = '5.0.0-alpha'
version = 'v5'

# -- General configuration

Expand Down
67 changes: 34 additions & 33 deletions docs/groups-docs-views.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
.. include:: images.rst

############################
Groups, Documents and Views
=====================================================
############################

The following documentations provide instructions on what View Editor
"Group", "Document" and "Views" are and how to use them.

Groups
--------------------------------
================================

.. |groups| image:: media/image62.png
:width: 0.27779in
Expand All @@ -16,7 +17,7 @@ Groups
|groups| **Groups** organize documents and other groups within a project

Create Group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------------------

Since "Group" can only be used to organize documents/groups, it can only
be created under the project level.
Expand All @@ -43,7 +44,7 @@ be created under the project level.
:height: 1.48619in

Delete Group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------------------

Only an empty "Group" can be deleted. To delete "Super Classified Group"
Group in the picture above, 
Expand All @@ -69,7 +70,7 @@ Group in the picture above, 
Follow the same steps to delete "Super Classified Group".

Organize Groups/Documents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------

"Groups" can be used to group together documents/groups. To move
documents into a group:
Expand Down Expand Up @@ -103,7 +104,7 @@ documents into a group:
peer.**

Documents
-----------------------------------
===================================

A **Document** is composed of Views (see `Add
Views <#add-a-new-view>`__), presentation
Expand All @@ -115,7 +116,7 @@ To see how a user can sync the new document to MMS, refer to Update from
MMS.

Create Document
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------

#. In the upper right go to the project home  |image37|

Expand All @@ -131,7 +132,7 @@ Create Document
button.

Delete Document
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------

#. Select the document you wish to delete in the tree

Expand All @@ -141,7 +142,7 @@ Delete Document
To delete a view permanently, delete it from the model **and** then commit that delete to MMS.

Structure/Edit Document
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------

#. Build high level document structure by creating
`Views <#views>`__
Expand All @@ -163,7 +164,7 @@ advantage of using image, table, and equations PEs is that they:
- appear in the left document navigation tree

Views
-------------------------------
======

| Views are sections of a document that can hold pictures, diagrams, or
textual information to describe ideas and objects.
Expand All @@ -178,7 +179,7 @@ Views can be added to a document in three different ways:
3. Adding an existing View

Add a New View
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------

Select the document (the root on the left pane). Click on the Add
button  :
Expand All @@ -194,7 +195,7 @@ Type in a name, and click on the "CREATE" button.
:height: 2.69831in

Add a New View as a Subview
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------

Select the view under which you want to nest the subview and follow the
same steps above:
Expand All @@ -204,7 +205,7 @@ same steps above:
:height: 1.91677in

Add an Existing View
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------

To add an existing view to another document, select a document or view
to which you want to nest the existing view under, and click on the Add
Expand Down Expand Up @@ -241,7 +242,7 @@ Note: The original view will NOT be deleted upon the deletion of this
view.

Delete View
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------

A user can delete any existing view by selecting the view on the left
pane, and clicking on the Delete button   from a document.
Expand All @@ -256,7 +257,7 @@ Upon deletion, the browser redirects the user to the top of the
document.

Edit Views
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------

This section focuses on the **editing aspects** that View Editor offers
including the following capabilities:
Expand Down Expand Up @@ -291,7 +292,7 @@ detail.
presentation elements to edit View content.

Adding Text
'''''''''''
"""""""""""

    The default PE for new Documents/Views is the text box. This will
add a paragraph PE.
Expand All @@ -305,7 +306,7 @@ add a paragraph PE.
4. Click on\ |image42|  to add content

Adding Section
''''''''''''''
""""""""""""""

Sections are used for adding concrete organization to views. They are
similar to views in the sense that they provide a specific amount of
Expand All @@ -323,15 +324,15 @@ be cross referenced.
5. You can nest other PEs to the section PE.

Adding  Comment
'''''''''''''''
"""""""""""""""

You can insert comments to all documents and views. Comments are saved
in the model and are by default hidden from the view. See `Show
Comments/Elements <#show-commentselements>`__
for more information.

Adding Table
''''''''''''
""""""""""""

You can add a table PE. Adding a separate table PE adds an element of
organization (my naming and separating it from text) to the content. It
Expand All @@ -346,7 +347,7 @@ also lets you cross reference the content directly.
4. Click on  |image46| to add content

Adding Figure and Videos
''''''''''''''''''''''''
""""""""""""""""""""""""

A user can add figures, such as images or videos, in an image PE.

Expand All @@ -361,7 +362,7 @@ A user can add figures, such as images or videos, in an image PE.


Adding Equation
'''''''''''''''
"""""""""""""""

A user can add an equation PE.

Expand All @@ -374,7 +375,7 @@ A user can add an equation PE.
4. Click on |image50| to add content 
Cross Reference as Link
'''''''''''''''''''''''''''''''''''''''''''''''''
"""""""""""""""""""""""""""""""""""""""""""""""""

A Cross Reference as Link can be inserted to your view to reference an
existing view or presentation element.
Expand Down Expand Up @@ -467,15 +468,15 @@ for cross referencing in View Editor.


Create a Cross Reference - name, documentation, and value
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""

- From 2.4.0 on, there is a checkbox in the cross reference popup that
allows you to restrict the **editability** of the cross referenced
element where you inserted it. This will only affect editing in the
center pane and not in the element specification on the right pane.

Search and add Cross Reference through interface
''''''''''''''''''''''''''''''''''''''''''''''''
""""""""""""""""""""""""""""""""""""""""""""""""

1. Enable Edits |image54|

Expand Down Expand Up @@ -507,7 +508,7 @@ Search and add Cross Reference through interface


Find Cross Reference inline 
''''''''''''''''''''''''''''
""""""""""""""""""""""""""""

1. Enable Edits |image56|

Expand Down Expand Up @@ -544,7 +545,7 @@ You can reorder Views and Presentation Elements (PEs) to change the
hierarchy of the elements.

Reorder Views (Enhanced)
''''''''''''''''''''''''
""""""""""""""""""""""""

1. Click on the **"Reorder Views" button** on the **left pane**.

Expand Down Expand Up @@ -593,7 +594,7 @@ view reordering page still showing numbers as if sections aren't
numbered. We are working on a more robust reordering option.

Reorder Presentation Elements (PEs)
'''''''''''''''''''''''''''''''''''
"""""""""""""""""""""""""""""""""""

**1. Click on the "Reorder Content" button on the right pane.**

Expand All @@ -615,7 +616,7 @@ For more information of other tools in the Right Pane, refer to `Right
Pane Capabilities <#right-pane-capabilities>`__

Save As
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------

You can save Documents and Views locally. The following guides
demonstrate the options for saving Views and Documents.
Expand Down Expand Up @@ -671,7 +672,7 @@ See these subsections for more information about specific generations:
3. `PDF Customization <#pdf-customization>`__

Generate PDF of View/Document
'''''''''''''''''''''''''''''''''''''''''''''''''''''''
"""""""""""""""""""""""""""""""""""""""""""""""""""""""

**Save View as PDF **\ |image60|

Expand Down Expand Up @@ -742,7 +743,7 @@ the associated presentation elements


Generate PDF with Model Based Cover Page
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

In certain circumstances, you may want to create a custom cover page for
a chosen document. The cover page is identified as the first View and
Expand Down Expand Up @@ -783,7 +784,7 @@ Save to Word Document
.. _step-by-step-instructions-1:

Step-by-step instructions: 
'''''''''''''''''''''''''''
"""""""""""""""""""""""""""

1. Click on " *Export* " button, and select "*Export to Word*" (See
below)
Expand All @@ -802,7 +803,7 @@ Export Tables
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Tables to CSV
'''''''''''''
""""""""""""'

            |image64|

Expand All @@ -820,7 +821,7 @@ Tables to CSV
as a CSV file.

Save all tables from document to CSV
''''''''''''''''''''''''''''''''''''
""""""""""""""""""""""""""""""""""""

- Go to the full document by clicking on |image67|\ button.

Expand Down
7 changes: 5 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ OpenMBEE View Editor Users Guide
web. It implements the MMS REST API to provide a web environment to
create, read, and update model elements, including Documents and Views.

Contents
--------

.. toctree::
:maxdepth: 3
:maxdepth: 1

about
panes
groups-documents-and-views
groups-docs-views
search
version-control
advanced
Expand Down
Loading

0 comments on commit 23e4671

Please sign in to comment.