mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-19 04:33:26 +02:00
Missing weapons now raise a warning, and recursive directory parsing.
In order to avoid parsing arbitrary python files encountered during directory recursion, ``makesheets`` now checks each python file for a string listing the *dungeonsheets_version* before trying to import the character file.
This commit is contained in:
+94
-5
@@ -2,19 +2,108 @@
|
||||
Examples
|
||||
==========
|
||||
|
||||
This page lists example character files. These files are found in the
|
||||
``examples/`` directory, and can be compiled with ``$ makesheets
|
||||
examples/``.
|
||||
|
||||
.. contents:: :local:
|
||||
|
||||
Wizard
|
||||
Artificer
|
||||
=========
|
||||
|
||||
.. literalinclude:: ../examples/artificer1.py
|
||||
|
||||
Barbarian
|
||||
=========
|
||||
|
||||
.. literalinclude:: ../examples/barbarian1.py
|
||||
|
||||
.. literalinclude:: ../examples/barbarian2.py
|
||||
|
||||
Bard
|
||||
====
|
||||
|
||||
.. literalinclude:: ../examples/bard1.py
|
||||
|
||||
.. literalinclude:: ../examples/bard2.py
|
||||
|
||||
Cleric
|
||||
======
|
||||
|
||||
.. literalinclude:: ../examples/wizard.py
|
||||
.. literalinclude:: ../examples/cleric1.py
|
||||
|
||||
Warlock
|
||||
.. literalinclude:: ../examples/cleric2.py
|
||||
|
||||
Druid
|
||||
=====
|
||||
|
||||
.. literalinclude:: ../examples/druid1.py
|
||||
|
||||
.. literalinclude:: ../examples/druid2.py
|
||||
|
||||
.. literalinclude:: ../examples/druid3.py
|
||||
|
||||
Fighter
|
||||
=======
|
||||
|
||||
.. literalinclude:: ../examples/warlock.py
|
||||
.. literalinclude:: ../examples/fighter1.py
|
||||
|
||||
.. literalinclude:: ../examples/fighter2.py
|
||||
|
||||
Monk
|
||||
====
|
||||
|
||||
.. literalinclude:: ../examples/monk1.py
|
||||
|
||||
.. literalinclude:: ../examples/monk2.py
|
||||
|
||||
Multi-Classing
|
||||
==============
|
||||
|
||||
.. literalinclude:: ../examples/multiclass1.py
|
||||
|
||||
.. literalinclude:: ../examples/multiclass2.py
|
||||
|
||||
Paladin
|
||||
=======
|
||||
|
||||
.. literalinclude:: ../examples/paladin1.py
|
||||
|
||||
.. literalinclude:: ../examples/paladin2.py
|
||||
|
||||
Ranger
|
||||
======
|
||||
|
||||
.. literalinclude:: ../examples/ranger1.py
|
||||
|
||||
.. literalinclude:: ../examples/ranger2.py
|
||||
|
||||
.. literalinclude:: ../examples/ranger3.py
|
||||
|
||||
Rogue
|
||||
=====
|
||||
|
||||
.. literalinclude:: ../examples/rogue.py
|
||||
.. literalinclude:: ../examples/rogue1.py
|
||||
|
||||
.. literalinclude:: ../examples/rogue2.py
|
||||
|
||||
Sorceror
|
||||
=========
|
||||
|
||||
.. literalinclude:: ../examples/sorceror1.py
|
||||
|
||||
.. literalinclude:: ../examples/sorceror2.py
|
||||
|
||||
Warlock
|
||||
=======
|
||||
|
||||
.. literalinclude:: ../examples/warlock1.py
|
||||
|
||||
.. literalinclude:: ../examples/warlock2.py
|
||||
|
||||
Wizard
|
||||
======
|
||||
|
||||
.. literalinclude:: ../examples/wizard1.py
|
||||
|
||||
.. literalinclude:: ../examples/wizard2.py
|
||||
|
||||
Reference in New Issue
Block a user