Skip to content

Commit

Permalink
Add features, css and fix index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeling committed Dec 13, 2015
1 parent 496364a commit 8c4bd4d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 38 deletions.
12 changes: 5 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ elements in text.
Features
--------

Rewrite!

* global and item specific markup via settings
* elements html/xml tags or highlighting
* handful of params to control replacements
* recognized text structure for replacement rules
* remove annotations by selector
* mark elements as html/xml tags or highlight context
* specify replacement rules via setting overwrite
* consider text units (e.g. html-paragraphs) in replacement rules
* add your own element validator made easy


Installation
Expand All @@ -29,6 +26,7 @@ To install Anchorman, simply:
pip install anchorman
Documentation
--------------

Expand Down
4 changes: 4 additions & 0 deletions docs/_static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ div.body {
div.body p, div.body dd, div.body li {
line-height: 1.6em;
}

.logo.logo-name {
font-size: 1.2em
}
23 changes: 3 additions & 20 deletions docs/_templates/sidebarintro.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
</a>
</p>
<p>
<h1 class="logo logo-name"><a href="#">Anchorman</a></h1>
Turn your text into hypertext.
<h1 class="logo logo-name"><a href="#" style="font-size:1.2em">Anchorman</a></h1>
turns your text into hypertext.
</p>

<h3>Badges</h3>
<style type="text/css">
.flbadges li {float: left; margin-right: 6px;}
.flbadges li {margin-right: 6px;}
</style>
<ul class="flbadges">
<li>
Expand All @@ -35,48 +34,32 @@ <h3>Badges</h3>
<img src='https://readthedocs.org/projects/anchorman/badge/?version=latest' alt='Documentation Status' />
</a>
</li>

<li>
<a href="https://landscape.io/github/rebeling/anchorman/master">
<img alt="Code Health" src="https://landscape.io/github/rebeling/anchorman/master/landscape.svg?style=flat"/>
</a>
</li>


<li>
<a href="http://en.wikipedia.org/wiki/00_Agent">
<img src="https://img.shields.io/badge/double O status-False-brightgreen.svg?style=flat" alt="double O status" />
</a>
</li>


<li>
<a href="http://shields.io/" title="create shields">
<img src="https://img.shields.io/badge/badges->5-ff69b4.svg?style=flat">
</a>
</li>



<li>
<a href="http://www.berlin.de/" title="made in berlin">
<img src="https://img.shields.io/badge/made in-berlin-blue.svg?style=flat">
</a>
</li>


<li>
<a href='https://coveralls.io/r/rebeling/anchorman?branch=master'><img src='https://coveralls.io/repos/rebeling/anchorman/badge.svg?branch=master' alt='Coverage Status' /></a>
</li>




<li>
<iframe src="http://ghbtns.com/github-btn.html?user=rebeling&repo=anchorman&type=watch&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="90px" height="20px"></iframe>
</li>


</ul>
<div style="clear:both"></div>
2 changes: 1 addition & 1 deletion docs/_templates/sidebarlogo.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

<p>
<h1 class="logo logo-name"><a href="{{ pathto(master_doc) }}">Anchorman</a></h1>
Turn your text into hypertext.
turns your text into hypertext.
</p>

15 changes: 5 additions & 10 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

.. include:: ../readme.rst
:start-line: 0
:end-line: 23
:end-line: 9

.. Anchorman documentation master file, created by
sphinx-quickstart on Wed Dec 9 23:04:59 2015.
Expand All @@ -16,12 +16,13 @@
.. literalinclude:: ../anchorman/main.py
:language: python
:dedent: 8
:lines: 32-38

:lines: 32-41


.. include:: ../readme.rst
:start-line: 10
:end-line: 32

Contents:

.. toctree::
:maxdepth: 1
Expand All @@ -33,12 +34,6 @@ Contents:
todos



.. include:: ../readme.rst
:start-line: 23
:end-line: 33


Credits and contributions
--------------------------

Expand Down

0 comments on commit 8c4bd4d

Please sign in to comment.