Skip to content

Commit b124627

Browse files
committed
Deploy codonlibrary/codonPython to github.com/codonlibrary/codonPython.git:gh-pages
1 parent fdc68f6 commit b124627

12 files changed

Lines changed: 151 additions & 59 deletions

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 71d88a7aa8d0d39b91314bd5a6e67050
3+
config: 4eef33d70a3bb7286ac84ba6122246b7
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_sources/index.rst.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
Welcome to codonPython's documentation!
2-
=================================
1+
Welcome to the Documentation!
2+
=============================
33

4-
To find the documentation for the module you want, please search or click on `module index`.
4+
.. mdinclude:: ../../README.md
55

66
.. toctree::
77
:maxdepth: 2
88
:caption: Contents:
99

10+
modules
11+
1012
Indices and tables
1113
==================
1214

_sources/modules.rst.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ codonPython
55
:maxdepth: 4
66

77
codonPython
8-
setup

codonPython.html

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
3535
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
3636
<link rel="index" title="Index" href="genindex.html" />
37-
<link rel="search" title="Search" href="search.html" />
37+
<link rel="search" title="Search" href="search.html" />
38+
<link rel="prev" title="codonPython" href="modules.html" />
3839
</head>
3940

4041
<body class="wy-body-for-nav">
@@ -78,27 +79,30 @@
7879

7980

8081

81-
<!-- Local TOC -->
82-
<div class="local-toc"><ul>
83-
<li><a class="reference internal" href="#">codonPython package</a><ul>
84-
<li><a class="reference internal" href="#submodules">Submodules</a></li>
85-
<li><a class="reference internal" href="#module-codonPython.age_bands">codonPython.age_bands module</a></li>
86-
<li><a class="reference internal" href="#module-codonPython.check_consistent_measures">codonPython.check_consistent_measures module</a></li>
87-
<li><a class="reference internal" href="#module-codonPython.check_consistent_submissions">codonPython.check_consistent_submissions module</a></li>
88-
<li><a class="reference internal" href="#module-codonPython.check_nat_val">codonPython.check_nat_val module</a></li>
89-
<li><a class="reference internal" href="#module-codonPython.check_null">codonPython.check_null module</a></li>
90-
<li><a class="reference internal" href="#module-codonPython.dateValidator">codonPython.dateValidator module</a></li>
91-
<li><a class="reference internal" href="#module-codonPython.file_utils">codonPython.file_utils module</a></li>
92-
<li><a class="reference internal" href="#module-codonPython.nhsd_colours">codonPython.nhsd_colours module</a></li>
93-
<li><a class="reference internal" href="#module-codonPython.nhsNumber">codonPython.nhsNumber module</a></li>
94-
<li><a class="reference internal" href="#module-codonPython.suppression">codonPython.suppression module</a></li>
95-
<li><a class="reference internal" href="#module-codonPython.tableFromSql">codonPython.tableFromSql module</a></li>
96-
<li><a class="reference internal" href="#module-codonPython.tolerance">codonPython.tolerance module</a></li>
97-
<li><a class="reference internal" href="#module-codonPython">Module contents</a></li>
82+
<p class="caption"><span class="caption-text">Contents:</span></p>
83+
<ul class="current">
84+
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">codonPython</a><ul class="current">
85+
<li class="toctree-l2 current"><a class="current reference internal" href="#">codonPython package</a><ul>
86+
<li class="toctree-l3"><a class="reference internal" href="#submodules">Submodules</a></li>
87+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.age_bands">codonPython.age_bands module</a></li>
88+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.check_consistent_measures">codonPython.check_consistent_measures module</a></li>
89+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.check_consistent_submissions">codonPython.check_consistent_submissions module</a></li>
90+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.check_nat_val">codonPython.check_nat_val module</a></li>
91+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.check_null">codonPython.check_null module</a></li>
92+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.dateValidator">codonPython.dateValidator module</a></li>
93+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.file_utils">codonPython.file_utils module</a></li>
94+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.nhsd_colours">codonPython.nhsd_colours module</a></li>
95+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.nhsNumber">codonPython.nhsNumber module</a></li>
96+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.suppression">codonPython.suppression module</a></li>
97+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.tableFromSql">codonPython.tableFromSql module</a></li>
98+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython.tolerance">codonPython.tolerance module</a></li>
99+
<li class="toctree-l3"><a class="reference internal" href="#module-codonPython">Module contents</a></li>
98100
</ul>
99101
</li>
100102
</ul>
101-
</div>
103+
</li>
104+
</ul>
105+
102106

103107

104108
</div>
@@ -142,6 +146,8 @@
142146

143147
<li><a href="index.html">Docs</a> &raquo;</li>
144148

149+
<li><a href="modules.html">codonPython</a> &raquo;</li>
150+
145151
<li>codonPython package</li>
146152

147153

@@ -838,12 +844,19 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
838844
</div>
839845
<footer>
840846

847+
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
848+
849+
850+
<a href="modules.html" class="btn btn-neutral float-left" title="codonPython" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
851+
852+
</div>
853+
841854

842855
<hr/>
843856

844857
<div role="contentinfo">
845858
<p>
846-
&copy; Copyright under BSD-5 license
859+
&copy; Copyright under BSD-3 license
847860

848861
</p>
849862
</div>

genindex.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@
7979

8080

8181

82-
<!-- Local TOC -->
83-
<div class="local-toc"></div>
82+
<p class="caption"><span class="caption-text">Contents:</span></p>
83+
<ul>
84+
<li class="toctree-l1"><a class="reference internal" href="modules.html">codonPython</a></li>
85+
</ul>
86+
8487

8588

8689
</div>
@@ -281,7 +284,7 @@ <h2 id="V">V</h2>
281284

282285
<div role="contentinfo">
283286
<p>
284-
&copy; Copyright under BSD-5 license
287+
&copy; Copyright under BSD-3 license
285288

286289
</p>
287290
</div>

index.html

Lines changed: 68 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>Welcome to codonPython’s documentation! &mdash; codon 0.0.21 documentation</title>
11+
<title>Welcome to the Documentation! &mdash; codon 0.0.21 documentation</title>
1212

1313

1414

@@ -34,7 +34,8 @@
3434
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
3535
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
3636
<link rel="index" title="Index" href="genindex.html" />
37-
<link rel="search" title="Search" href="search.html" />
37+
<link rel="search" title="Search" href="search.html" />
38+
<link rel="next" title="codonPython" href="modules.html" />
3839
</head>
3940

4041
<body class="wy-body-for-nav">
@@ -78,12 +79,11 @@
7879

7980

8081

81-
<!-- Local TOC -->
82-
<div class="local-toc"><ul>
83-
<li><a class="reference internal" href="#">Welcome to codonPython’s documentation!</a></li>
84-
<li><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li>
82+
<p class="caption"><span class="caption-text">Contents:</span></p>
83+
<ul>
84+
<li class="toctree-l1"><a class="reference internal" href="modules.html">codonPython</a></li>
8585
</ul>
86-
</div>
86+
8787

8888

8989
</div>
@@ -127,7 +127,7 @@
127127

128128
<li><a href="#">Docs</a> &raquo;</li>
129129

130-
<li>Welcome to codonPython’s documentation!</li>
130+
<li>Welcome to the Documentation!</li>
131131

132132

133133
<li class="wy-breadcrumbs-aside">
@@ -146,10 +146,59 @@
146146
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
147147
<div itemprop="articleBody">
148148

149-
<div class="section" id="welcome-to-codonpython-s-documentation">
150-
<h1>Welcome to codonPython’s documentation!<a class="headerlink" href="#welcome-to-codonpython-s-documentation" title="Permalink to this headline"></a></h1>
151-
<p>To find the documentation for the module you want, please search or click on <cite>module index</cite>.</p>
149+
<div class="section" id="welcome-to-the-documentation">
150+
<h1>Welcome to the Documentation!<a class="headerlink" href="#welcome-to-the-documentation" title="Permalink to this headline"></a></h1>
151+
</div>
152+
<div class="section" id="codonpython">
153+
<h1>codonPython<a class="headerlink" href="#codonpython" title="Permalink to this headline"></a></h1>
154+
<a class="reference external image-reference" href="https://travis-ci.com/codonlibrary/codonPython"><img alt="Build Status" src="https://travis-ci.com/codonlibrary/codonPython.svg?branch=master" /></a>
155+
<a class="reference external image-reference" href="https://codecov.io/gh/codonlibrary/codonPython"><img alt="codecov" src="https://codecov.io/gh/codonlibrary/codonPython/branch/master/graph/badge.svg" /></a>
156+
<div class="section" id="what-is-codon">
157+
<h2>What is <code class="docutils literal notranslate"><span class="pre">codon</span></code>?<a class="headerlink" href="#what-is-codon" title="Permalink to this headline"></a></h2>
158+
<p>The <code class="docutils literal notranslate"><span class="pre">codon</span></code> project was created to increase code sharing, consistancy of code and coding standards and encourage collaboration. The repository contains Python, R and SQL code for ease of use in workflows on platforms used within NHS Digital such as Databricks. Package documentation is available on the <a class="reference external" href="https://codonlibrary.github.io/codonPython/">GitHub pages</a> however further information for NHS Digital staff can be found <a class="reference external" href="https://confluence.digital.nhs.uk/display/CON/Codon+-+Code+sharing">here</a>, via our internal confluence page. <code class="docutils literal notranslate"><span class="pre">codonPython</span></code> aims to reduce the barrier for entry for analysis and provide software development experience for those at a higher level of technical ability.</p>
159+
<div class="section" id="why-codon">
160+
<h3>Why <code class="docutils literal notranslate"><span class="pre">codon</span></code>?<a class="headerlink" href="#why-codon" title="Permalink to this headline"></a></h3>
161+
<p>In biological terms, a <code class="docutils literal notranslate"><span class="pre">codon</span></code> is one of the building blocks that make up our DNA. By openly sharing our code we hope that others will be able to take those blocks of code to build their own processes using the data that NHS Digital hold.</p>
162+
<p>By sharing code, the project aims to:</p>
163+
<p><strong>Increase Transparency</strong>: To align with government data principles and build public trust.</p>
164+
<p><strong>Improve Code</strong>: To innovate and improve the code we use and provide.</p>
165+
<p><strong>Improve usability</strong>: By increasing the accessibility and uniformity of code, it becomes easier for data users to find and use relevant code.</p>
166+
<p><strong>Be more cost effective</strong>: Reusable ‘generalised’ code will increase efficiency in creating higher level processes.</p>
167+
</div>
168+
</div>
169+
<div class="section" id="installation">
170+
<h2>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h2>
171+
<p>The package can be directly installed by typing in your terminal:</p>
172+
<div class="highlight-r notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="o">-</span><span class="n">m</span> <span class="n">pip</span> <span class="n">install</span> <span class="o">--</span><span class="n">user</span> <span class="n">git</span><span class="o">+</span><span class="n">https</span><span class="o">://</span><span class="n">github.com</span><span class="o">/</span><span class="n">codonlibrary</span><span class="o">/</span><span class="n">codonPython.git</span>
173+
</pre></div>
174+
</div>
175+
<p>For further guidance on cloning from the remote repository to a local repository on your machine see the information in our <a class="reference external" href="https://github.com/codonlibrary/codonPython/wiki/1.-Installing-codonPython">Wiki.</a></p>
176+
</div>
177+
<div class="section" id="contributing-to-codonpython">
178+
<h2>Contributing to codonPython<a class="headerlink" href="#contributing-to-codonpython" title="Permalink to this headline"></a></h2>
179+
<p>All new contributions to <code class="docutils literal notranslate"><span class="pre">codon</span></code> are welcome; please follow the Coding Conventions in the <a class="reference external" href="https://github.com/codonlibrary/codonPython/blob/master/CONTRIBUTING.md">guidance document</a> for contribution guidance.</p>
180+
<p>Any improvements to documentation, bug fixes or general code enhancements are also welcomed. If a bug is found on the master branch, please use the GitHub guidance on raising an <a class="reference external" href="https://help.github.com/en/github/managing-your-work-on-github/creating-an-issue">issue.</a></p>
181+
</div>
182+
<div class="section" id="new-to-github">
183+
<h2>New to GitHub?<a class="headerlink" href="#new-to-github" title="Permalink to this headline"></a></h2>
184+
<p>GitHub is a hosting site that allows for development and version control of software using Git. It allows users to edit and develop parts of code independently before submitting back to the master code, whilst using version control to track changes. Introductory videos to GitHub for beginners can be found <a class="reference external" href="https://github.com/codonlibrary/codonPython/wiki/2a.-GitHub-for-Beginners">here.</a></p>
185+
<p>Quick links to beginner guidance can also be found below:</p>
186+
<ul class="simple">
187+
<li><p><a class="reference external" href="https://github.com/codonlibrary/codonPython/wiki/1.-Installing-codonPython">**Cloning a repository to your local machine using GitBash**</a></p></li>
188+
<li><p><a class="reference external" href="https://github.com/codonlibrary/codonPython/wiki/2b.-Checkout-a-branch-using-GitBash">**Checking out a branch using GitBash**</a></p></li>
189+
<li><p><a class="reference external" href="https://github.com/codonlibrary/codonPython/wiki/3.-Removing-a-Commit-From-a-GitHub-Repository">**Removing a Commit from a repository using GitBash**</a></p></li>
190+
</ul>
191+
<p>All other <code class="docutils literal notranslate"><span class="pre">codon</span></code> “How-to Articles” can be found <a class="reference external" href="https://github.com/codonlibrary/codonPython/wiki/2.-Git-Guidance">here.</a></p>
192+
<p>Suggestions regarding additional guidance or How-to articles are welcome.</p>
152193
<div class="toctree-wrapper compound">
194+
<p class="caption"><span class="caption-text">Contents:</span></p>
195+
<ul>
196+
<li class="toctree-l1"><a class="reference internal" href="modules.html">codonPython</a><ul>
197+
<li class="toctree-l2"><a class="reference internal" href="codonPython.html">codonPython package</a></li>
198+
</ul>
199+
</li>
200+
</ul>
201+
</div>
153202
</div>
154203
</div>
155204
<div class="section" id="indices-and-tables">
@@ -167,12 +216,19 @@ <h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Pe
167216
</div>
168217
<footer>
169218

219+
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
220+
221+
<a href="modules.html" class="btn btn-neutral float-right" title="codonPython" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
222+
223+
224+
</div>
225+
170226

171227
<hr/>
172228

173229
<div role="contentinfo">
174230
<p>
175-
&copy; Copyright under BSD-5 license
231+
&copy; Copyright under BSD-3 license
176232

177233
</p>
178234
</div>

modules.html

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
3535
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
3636
<link rel="index" title="Index" href="genindex.html" />
37-
<link rel="search" title="Search" href="search.html" />
37+
<link rel="search" title="Search" href="search.html" />
38+
<link rel="next" title="codonPython package" href="codonPython.html" />
39+
<link rel="prev" title="Welcome to the Documentation!" href="index.html" />
3840
</head>
3941

4042
<body class="wy-body-for-nav">
@@ -78,11 +80,14 @@
7880

7981

8082

81-
<!-- Local TOC -->
82-
<div class="local-toc"><ul>
83-
<li><a class="reference internal" href="#">codonPython</a></li>
83+
<p class="caption"><span class="caption-text">Contents:</span></p>
84+
<ul class="current">
85+
<li class="toctree-l1 current"><a class="current reference internal" href="#">codonPython</a><ul>
86+
<li class="toctree-l2"><a class="reference internal" href="codonPython.html">codonPython package</a></li>
8487
</ul>
85-
</div>
88+
</li>
89+
</ul>
90+
8691

8792

8893
</div>
@@ -166,7 +171,6 @@ <h1>codonPython<a class="headerlink" href="#codonpython" title="Permalink to thi
166171
<li class="toctree-l2"><a class="reference internal" href="codonPython.html#module-codonPython">Module contents</a></li>
167172
</ul>
168173
</li>
169-
<li class="toctree-l1"><a class="reference internal" href="setup.html">setup module</a></li>
170174
</ul>
171175
</div>
172176
</div>
@@ -177,12 +181,21 @@ <h1>codonPython<a class="headerlink" href="#codonpython" title="Permalink to thi
177181
</div>
178182
<footer>
179183

184+
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
185+
186+
<a href="codonPython.html" class="btn btn-neutral float-right" title="codonPython package" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
187+
188+
189+
<a href="index.html" class="btn btn-neutral float-left" title="Welcome to the Documentation!" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
190+
191+
</div>
192+
180193

181194
<hr/>
182195

183196
<div role="contentinfo">
184197
<p>
185-
&copy; Copyright under BSD-5 license
198+
&copy; Copyright under BSD-3 license
186199

187200
</p>
188201
</div>

objects.inv

-9 Bytes
Binary file not shown.

py-modindex.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,11 @@
8181

8282

8383

84-
<!-- Local TOC -->
85-
<div class="local-toc"></div>
84+
<p class="caption"><span class="caption-text">Contents:</span></p>
85+
<ul>
86+
<li class="toctree-l1"><a class="reference internal" href="modules.html">codonPython</a></li>
87+
</ul>
88+
8689

8790

8891
</div>
@@ -231,7 +234,7 @@ <h1>Python Module Index</h1>
231234

232235
<div role="contentinfo">
233236
<p>
234-
&copy; Copyright under BSD-5 license
237+
&copy; Copyright under BSD-3 license
235238

236239
</p>
237240
</div>

search.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@
7979

8080

8181

82-
<!-- Local TOC -->
83-
<div class="local-toc"></div>
82+
<p class="caption"><span class="caption-text">Contents:</span></p>
83+
<ul>
84+
<li class="toctree-l1"><a class="reference internal" href="modules.html">codonPython</a></li>
85+
</ul>
86+
8487

8588

8689
</div>
@@ -165,7 +168,7 @@
165168

166169
<div role="contentinfo">
167170
<p>
168-
&copy; Copyright under BSD-5 license
171+
&copy; Copyright under BSD-3 license
169172

170173
</p>
171174
</div>

0 commit comments

Comments
 (0)