-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from staffanm/feature/transformer
Transformation from XHTML + config + anntations to browser-ready HTML5 now done through separate class
- Loading branch information
Showing
60 changed files
with
884 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The ``Transformer`` class | ||
============================ | ||
|
||
.. autoclass:: ferenda.Transformer | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
:member-order: bysource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``ferenda.sources.general.Keyword`` -- generate documents for keywords used by document in other docrepos | ||
========================================================================================================= | ||
|
||
.. autoclass:: ferenda.sources.general.Keyword |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
``ferenda.sources.legal.eu`` -- repositories for EU law | ||
======================================================= | ||
|
||
``EurlexTreaties`` | ||
------------------------------------------- | ||
|
||
.. autoclass:: ferenda.sources.legal.eu.EurlexTreaties | ||
|
||
``EurlexCaselaw`` | ||
------------------------------------------ | ||
|
||
.. autoclass:: ferenda.sources.legal.eu.EurlexTreaties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
``ferenda.sources.legal.se`` -- repositories for Swedish law | ||
============================================================ | ||
|
||
|
||
``ARN`` | ||
------- | ||
|
||
.. autoclass:: ferenda.sources.legal.se.ARN | ||
|
||
``Direktiv`` | ||
------------ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.Direktiv | ||
|
||
|
||
``direktiv.DirTrips`` | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.direktiv.DirTrips | ||
|
||
``direktiv.DirAsp`` | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.direktiv.DirAsp | ||
|
||
``direktiv.DirPolopoly`` | ||
^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.direktiv.DirPolopoly | ||
|
||
``Ds`` | ||
------ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.Ds | ||
|
||
``DV`` | ||
------ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.DV | ||
|
||
``JK`` | ||
------ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.JK | ||
|
||
``JO`` | ||
------ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.JO | ||
|
||
``Kommitte`` | ||
------------ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.Kommitte | ||
|
||
``MyndFskr`` | ||
------------ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.MyndFskr | ||
|
||
``myndfskr.SJVFS`` | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.myndfskr.SJVFS | ||
|
||
``myndfskr.DVFS`` | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.myndfskr.DVFS | ||
|
||
``myndfskr.FFFS`` | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.myndfskr.FFFS | ||
|
||
``myndfskr.ELSAKFS`` | ||
^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.myndfskr.ELSAKFS | ||
|
||
``myndfskr.NFS`` | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.myndfskr.NFS | ||
|
||
``myndfskr.STAFS`` | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.myndfskr.STAFS | ||
|
||
``myndfskr.SKVFS`` | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.myndfskr.SKVFS | ||
|
||
|
||
``Propositioner`` | ||
----------------- | ||
|
||
.. autoclass:: ferenda.sources.legal.se.Propositioner | ||
|
||
``propositioner.PropPolo`` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.propositioner.PropPolo | ||
|
||
``propositioner.PropTrips`` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.propositioner.PropTrips | ||
|
||
``propositioner.PropRiksdagen`` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. autoclass:: ferenda.sources.legal.se.propositioner.PropRiksdagen | ||
|
||
|
||
|
||
.. We don't include Regeringen, Riksdagen, SwedishLegalSource or Trips since they're abstract base classes | ||
``SFS`` | ||
------- | ||
|
||
.. autoclass:: ferenda.sources.legal.se.SFS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``ferenda.sources.general.MediaWiki`` -- pull in commentary on documents and keywords from a MediaWiki instance | ||
=============================================================================================================== | ||
|
||
.. autoclass:: ferenda.sources.general.MediaWiki |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``ferenda.sources.general.Skeleton`` -- generate skeleton documents for references from other documents | ||
======================================================================================================= | ||
|
||
.. autoclass:: ferenda.sources.general.Skeleton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
The ``Static`` document repository | ||
================================== | ||
``ferenda.sources.general.Static`` -- generate documents from your own ``.rst`` files | ||
===================================================================================== | ||
|
||
.. autoclass:: ferenda.sources.general.Static | ||
:members: | ||
:member-order: bysource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
``ferenda.sources.tech`` -- repositories for technical standards | ||
================================================================ | ||
|
||
``W3Standards`` | ||
------------------------------------ | ||
|
||
.. autoclass:: ferenda.sources.tech.W3Standards | ||
|
||
``RFC`` | ||
---------------------------- | ||
|
||
.. autoclass:: ferenda.sources.tech.RFC |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from rdflib import Graph | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.