mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 11:26:37 -04:00
Initial commit
This commit is contained in:
commit
28c8a3f0ba
136 changed files with 13350 additions and 0 deletions
14
www/contribute/toolset.php
Normal file
14
www/contribute/toolset.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?
|
||||
require_once('Core.php');
|
||||
?><?= Template::Header(['title' => 'Toolset Guidelines', 'highlight' => 'contribute', 'description' => 'Guidelines for programming language and code style used in the Standard Ebooks toolset.']) ?>
|
||||
<main>
|
||||
<article>
|
||||
<h1>Toolset Guidelines</h1>
|
||||
<p>You can <a href="https://github.com/standardebooks/tools">view our toolset on Github</a>.</p>
|
||||
<p>Contributions should be in Python 3.</p>
|
||||
<p>In general we follow a relaxed version of <a href="https://www.python.org/dev/peps/pep-0008/">PEP 8</a>. In particular, we use tabs instead of spaces, and there is no line length limit.</p>
|
||||
<p>Always use the <code class="path">regex</code> module instead of the <code class="path">re</code> module.</p>
|
||||
<p>At the minimum, scripts should use programs available for installation on Ubuntu 18.04 LTS systems, either via <code class="program">apt</code> or <code class="program">pip3</code>.</p>
|
||||
</article>
|
||||
</main>
|
||||
<?= Template::Footer() ?>
|
Loading…
Add table
Add a link
Reference in a new issue