update_versions Namespace Reference

Functions

def version_to_value (version)
 

Variables

 current_version = sys.argv[1]
 
 docs_dir = os.path.dirname(os.path.abspath(__file__))
 
string entry_template
 
string entry_template_no_docs
 
 file_contents = f.read()
 
list FIRST_RELEASE_WITH_DOCS = [1, 4, 0]
 
 key
 
 latest_version = versions[0]
 
 reverse
 
string table_contents = ""
 
string template = entry_template
 
def value = version_to_value(version)
 
 version_to_value
 
 versions = subprocess.check_output(['git', 'tag']).decode('utf-8').strip().split()
 

Function Documentation

◆ version_to_value()

def update_versions.version_to_value (   version)

Definition at line 7 of file update_versions.py.

Variable Documentation

◆ current_version

update_versions.current_version = sys.argv[1]

Definition at line 40 of file update_versions.py.

◆ docs_dir

update_versions.docs_dir = os.path.dirname(os.path.abspath(__file__))

Definition at line 36 of file update_versions.py.

◆ entry_template

string update_versions.entry_template
Initial value:
1 = """\
2  <tr>
3  <td>%(version)s%(current)s</td>
4  <td><a href="/fusion-engine/%(version)s/index.html">Documentation</a></td>
5  <td><a href="https://github.com/PointOneNav/fusion-engine-client/releases/tag/%(version)s">Release Notes</a></td>
6  </tr>
7 """

Definition at line 11 of file update_versions.py.

◆ entry_template_no_docs

string update_versions.entry_template_no_docs
Initial value:
1 = """\
2  <tr>
3  <td>%(version)s%(current)s</td>
4  <td></td>
5  <td><a href="https://github.com/PointOneNav/fusion-engine-client/releases/tag/%(version)s">Release Notes</a></td>
6  </tr>
7 """

Definition at line 19 of file update_versions.py.

◆ file_contents

update_versions.file_contents = f.read()

Definition at line 43 of file update_versions.py.

◆ FIRST_RELEASE_WITH_DOCS

list update_versions.FIRST_RELEASE_WITH_DOCS = [1, 4, 0]

Definition at line 33 of file update_versions.py.

◆ key

update_versions.key

Definition at line 30 of file update_versions.py.

◆ latest_version

update_versions.latest_version = versions[0]

Definition at line 31 of file update_versions.py.

◆ reverse

update_versions.reverse

Definition at line 30 of file update_versions.py.

◆ table_contents

string update_versions.table_contents = ""

Definition at line 58 of file update_versions.py.

◆ template

string update_versions.template = entry_template

Definition at line 62 of file update_versions.py.

◆ value

def update_versions.value = version_to_value(version)

Definition at line 60 of file update_versions.py.

◆ version_to_value

update_versions.version_to_value

Definition at line 30 of file update_versions.py.

◆ versions

update_versions.versions = subprocess.check_output(['git', 'tag']).decode('utf-8').strip().split()

Definition at line 29 of file update_versions.py.