From 0cecd4cf63155370d68b194b76d44c4b4bd0c743 Mon Sep 17 00:00:00 2001 From: Pelle Nilsson Date: Tue, 28 Oct 2014 00:06:26 +0100 Subject: [PATCH] Started documentation. Also some tricks to get everything through checkexpected, and a new b tag for bold text (only in html and json for now). --- examples/doc.gamebook | 47 ++++++++++++ expected/bgg.map | 1 + expected/codewords.map | 1 + expected/counters.map | 1 + expected/doc.check | 7 ++ expected/doc.dot | 8 ++ expected/doc.html | 157 ++++++++++++++++++++++++++++++++++++++ expected/doc.json | 50 ++++++++++++ expected/doc.map | 1 + expected/doc.rtf | 80 +++++++++++++++++++ expected/doc.tex | 113 +++++++++++++++++++++++++++ expected/doc.txt | 31 ++++++++ expected/doc.vcheck | 13 ++++ expected/format.map | 1 + expected/items.map | 1 + expected/itemslist.map | 1 + expected/itemstaglist.map | 1 + expected/references.map | 1 + expected/trade.map | 1 + expected/unreachable.map | 1 + expected/withdemo.map | 1 + expected/withmaps.map | 1 + expected/withmaps1.map | 1 + expected/withmaps2.map | 1 + expected/withoutdemo.map | 1 + templates/html/b.html | 1 + templates/json/b.json | 1 + 27 files changed, 524 insertions(+) create mode 100644 examples/doc.gamebook create mode 100644 expected/bgg.map create mode 100644 expected/codewords.map create mode 100644 expected/counters.map create mode 100644 expected/doc.check create mode 100644 expected/doc.dot create mode 100644 expected/doc.html create mode 100644 expected/doc.json create mode 100644 expected/doc.map create mode 100644 expected/doc.rtf create mode 100644 expected/doc.tex create mode 100644 expected/doc.txt create mode 100644 expected/doc.vcheck create mode 100644 expected/format.map create mode 100644 expected/items.map create mode 100644 expected/itemslist.map create mode 100644 expected/itemstaglist.map create mode 100644 expected/references.map create mode 100644 expected/trade.map create mode 100644 expected/unreachable.map create mode 100644 expected/withdemo.map create mode 100644 expected/withmaps.map create mode 100644 expected/withmaps1.map create mode 100644 expected/withmaps2.map create mode 100644 expected/withoutdemo.map create mode 100644 templates/html/b.html create mode 100644 templates/json/b.json diff --git a/examples/doc.gamebook b/examples/doc.gamebook new file mode 100644 index 0000000..d79c61d --- /dev/null +++ b/examples/doc.gamebook @@ -0,0 +1,47 @@ +title = gamebookformat 1.0 documentation +author = Pelle Nilsson + += Introduction +This is the documentation for gamebookformat 1.0. It was itself generated using +gamebookformat (or more precisely the formatgamebook.py tool). + +* 1 start +[b]Getting Started.[b] + +* 2 install +[b]Installation.[b] + +* 3 tutorials +[b]Tutorials.[/b] +There are 4 tutorials of increasing complexity currently included +in this document: [[basictut][The Basic Tutorial]] shows how to make a simple +static gamebook for printing or reading on a screen. +[[advancedtut][The Advanced Tutorial]] adds many formatting tricks to make more +interesting gamebooks, but still only very static. +[[dyntut][The Dynamic Tutorial]] finally explains how to add mark-up to your +gamebooks to be make dynamic HTML gamebooks that can be played +in a browser (while still work well if it is printed on paper or +viewed in a simple ebook reader). Finally +[[custtut][The Customization Tutorial]] shows how to override the default templates +to make small or big changes to how gamebooks are rendered. The +tutorials do not cover all features of gamebookformat, so also +have a look at the included examples and the [[reference][Reference section below]] +to learn about all the things the tools can do. +* 4 basictut +[b]Basic Tutorial.[/b] +This tutorial will guide you through creating a simple gamebook with linked sections of text +with some simple formatting, +resulting in static html and rtf documents that can be easily navigated for manual play +printed on paper or on any computer or ebook reader. +* 5 advancedtut +[b]Advanced Tutorial.[/b] +This tutorial continues the [[basictut][Basic Tutorial]], only adding some more +details to do more advanced formatting like adding images to +books or how to make links that display text instead of numbers. +* 6 dyntut +[b]Dynamic Tutorial.[/b] + +* 7 custtut +[b]Customization Tutorial[/b]. +* 8 reference +[b]Reference.[/b] diff --git a/expected/bgg.map b/expected/bgg.map new file mode 100644 index 0000000..873dfd7 --- /dev/null +++ b/expected/bgg.map @@ -0,0 +1 @@ +{"start": 1, "second": 4, "end": 2, "third": 3} \ No newline at end of file diff --git a/expected/codewords.map b/expected/codewords.map new file mode 100644 index 0000000..b13c471 --- /dev/null +++ b/expected/codewords.map @@ -0,0 +1 @@ +{"notsofun": 8, "autotest": 7, "the_end": 3, "second": 2, "choice": 9, "xortest": 4, "start": 1, "noautotest": 6, "cheater": 5} \ No newline at end of file diff --git a/expected/counters.map b/expected/counters.map new file mode 100644 index 0000000..7df0664 --- /dev/null +++ b/expected/counters.map @@ -0,0 +1 @@ +{"death": 4, "start": 1, "inittest2": 2, "inittest": 3, "getgold": 9, "losegold": 7, "rich": 6, "dangerous": 8, "hurrah": 5} \ No newline at end of file diff --git a/expected/doc.check b/expected/doc.check new file mode 100644 index 0000000..090b04f --- /dev/null +++ b/expected/doc.check @@ -0,0 +1,7 @@ +examples/doc.json: Could not reach section 'custtut' from start. +examples/doc.json: Could not reach section 'basictut' from start. +examples/doc.json: Could not reach section 'dyntut' from start. +examples/doc.json: Could not reach section 'install' from start. +examples/doc.json: Could not reach section 'tutorials' from start. +examples/doc.json: Could not reach section 'advancedtut' from start. +examples/doc.json: Could not reach section 'reference' from start. diff --git a/expected/doc.dot b/expected/doc.dot new file mode 100644 index 0000000..fdd8d9e --- /dev/null +++ b/expected/doc.dot @@ -0,0 +1,8 @@ +digraph gamebook { +Getting Started.Installation.Tutorials.3->4 +3->5 +3->6 +3->7 +3->8 +Basic Tutorial.Advanced Tutorial.5->4 +Dynamic Tutorial.Customization TutorialReference.} diff --git a/expected/doc.html b/expected/doc.html new file mode 100644 index 0000000..7cba637 --- /dev/null +++ b/expected/doc.html @@ -0,0 +1,157 @@ + + + + + + gamebookformat 1.0 documentation + + + + + + +
+
+
Introduction
+
+ This is the documentation for gamebookformat 1.0. It was itself generated using gamebookformat (or more precisely the formatgamebook.py tool). +
+
+ + + + +
+
1
+
+ Getting Started. + +
+
+
+
2
+
+ Installation. + +
+
+
+
3
+
+ Tutorials. + There are 4 tutorials of increasing complexity currently included in this document: The Basic Tutorial shows how to make a simple static gamebook for printing or reading on a screen. The Advanced Tutorial adds many formatting tricks to make more interesting gamebooks, but still only very static. The Dynamic Tutorial finally explains how to add mark-up to your gamebooks to be make dynamic HTML gamebooks that can be played in a browser (while still work well if it is printed on paper or viewed in a simple ebook reader). Finally The Customization Tutorial shows how to override the default templates to make small or big changes to how gamebooks are rendered. The tutorials do not cover all features of gamebookformat, so also have a look at the included examples and the Reference section below to learn about all the things the tools can do. +
+
+
+
4
+
+ Basic Tutorial. + This tutorial will guide you through creating a simple gamebook with linked sections of text with some simple formatting, resulting in static html and rtf documents that can be easily navigated for manual play printed on paper or on any computer or ebook reader. +
+
+
+
5
+
+ Advanced Tutorial. + This tutorial continues the Basic Tutorial, only adding some more details to do more advanced formatting like adding images to books or how to make links that display text instead of numbers. +
+
+
+
6
+
+ Dynamic Tutorial. + +
+
+
+
7
+
+ Customization Tutorial +. +
+
+
+
8
+
+ Reference. + +
+
+
+
+
+ + +
+
+
+
+
+ + +
+ + + + + + diff --git a/expected/doc.json b/expected/doc.json new file mode 100644 index 0000000..bc55e8e --- /dev/null +++ b/expected/doc.json @@ -0,0 +1,50 @@ +{ + "title" : "gamebookformat 1.0 documentation", + "nr_sections" : "8", + +"Introduction" : { + "intro" : true, + "text" : ["" ," This is the documentation for gamebookformat 1.0. It was itself generated using gamebookformat (or more precisely the formatgamebook.py tool). "] +}, + + "sections" : {"IGNORE-debug-json-padding-IGNORE" : "", "start" : { + "nr" : 1, + "text" : ["" ," ", "Getting Started." +," "] +} +, "install" : { + "nr" : 2, + "text" : ["" ," ", "Installation." +," "] +} +, "tutorials" : { + "nr" : 3, + "text" : ["" ," ", "Tutorials." +," There are 4 tutorials of increasing complexity currently included in this document: ",{"reference" : "4", "name" : "The Basic Tutorial"}," shows how to make a simple static gamebook for printing or reading on a screen. ",{"reference" : "5", "name" : "The Advanced Tutorial"}," adds many formatting tricks to make more interesting gamebooks, but still only very static. ",{"reference" : "6", "name" : "The Dynamic Tutorial"}," finally explains how to add mark-up to your gamebooks to be make dynamic HTML gamebooks that can be played in a browser (while still work well if it is printed on paper or viewed in a simple ebook reader). Finally ",{"reference" : "7", "name" : "The Customization Tutorial"}," shows how to override the default templates to make small or big changes to how gamebooks are rendered. The tutorials do not cover all features of gamebookformat, so also have a look at the included examples and the ",{"reference" : "8", "name" : "Reference section below"}," to learn about all the things the tools can do."] +} +, "basictut" : { + "nr" : 4, + "text" : ["" ," ", "Basic Tutorial." +," This tutorial will guide you through creating a simple gamebook with linked sections of text with some simple formatting, resulting in static html and rtf documents that can be easily navigated for manual play printed on paper or on any computer or ebook reader."] +} +, "advancedtut" : { + "nr" : 5, + "text" : ["" ," ", "Advanced Tutorial." +," This tutorial continues the ",{"reference" : "4", "name" : "Basic Tutorial"},", only adding some more details to do more advanced formatting like adding images to books or how to make links that display text instead of numbers."] +} +, "dyntut" : { + "nr" : 6, + "text" : ["" ," ", "Dynamic Tutorial." +," "] +} +, "custtut" : { + "nr" : 7, + "text" : ["" ," ", "Customization Tutorial" +,"."] +} +, "reference" : { + "nr" : 8, + "text" : ["" ," ", "Reference." +] +} +}} diff --git a/expected/doc.map b/expected/doc.map new file mode 100644 index 0000000..26f6a42 --- /dev/null +++ b/expected/doc.map @@ -0,0 +1 @@ +{"custtut": 7, "basictut": 4, "reference": 8, "start": 1, "dyntut": 6, "install": 2, "tutorials": 3, "advancedtut": 5} \ No newline at end of file diff --git a/expected/doc.rtf b/expected/doc.rtf new file mode 100644 index 0000000..21e4dfb --- /dev/null +++ b/expected/doc.rtf @@ -0,0 +1,80 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw11900\paperh16840\margl1440\margr1440\vieww14140\viewh14860\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural + +\f0\b\fs24 \cf0 + +\b \qc gamebookformat 1.0 documentation +\b0\ +\ +\b \qc Introduction +\b0\ + + + +\ql This is the documentation for gamebookformat 1.0. It was itself generated using gamebookformat (or more precisely the formatgamebook.py tool). \ +\ +\b Turn to 1 to begin. +\b0\ +\ +\b \qc {\*\bkmkstart s1}1{\*\bkmkend s1} +\b0\ +\ql Getting Started. \ +\ + +\b \qc {\*\bkmkstart s2}2{\*\bkmkend s2} +\b0\ +\ql Installation. \ +\ + +\b \qc {\*\bkmkstart s3}3{\*\bkmkend s3} +\b0\ +\ql Tutorials. There are 4 tutorials of increasing complexity currently included in this document: \b {\field{\*\fldinst REF s4 \\h }{\fldrslt The Basic Tutorial}} +\b0 + + shows how to make a simple static gamebook for printing or reading on a screen. \b {\field{\*\fldinst REF s5 \\h }{\fldrslt The Advanced Tutorial}} +\b0 + + adds many formatting tricks to make more interesting gamebooks, but still only very static. \b {\field{\*\fldinst REF s6 \\h }{\fldrslt The Dynamic Tutorial}} +\b0 + + finally explains how to add mark-up to your gamebooks to be make dynamic HTML gamebooks that can be played in a browser (while still work well if it is printed on paper or viewed in a simple ebook reader). Finally \b {\field{\*\fldinst REF s7 \\h }{\fldrslt The Customization Tutorial}} +\b0 + + shows how to override the default templates to make small or big changes to how gamebooks are rendered. The tutorials do not cover all features of gamebookformat, so also have a look at the included examples and the \b {\field{\*\fldinst REF s8 \\h }{\fldrslt Reference section below}} +\b0 + + to learn about all the things the tools can do. \ +\ + +\b \qc {\*\bkmkstart s4}4{\*\bkmkend s4} +\b0\ +\ql Basic Tutorial. This tutorial will guide you through creating a simple gamebook with linked sections of text with some simple formatting, resulting in static html and rtf documents that can be easily navigated for manual play printed on paper or on any computer or ebook reader. \ +\ + +\b \qc {\*\bkmkstart s5}5{\*\bkmkend s5} +\b0\ +\ql Advanced Tutorial. This tutorial continues the \b {\field{\*\fldinst REF s4 \\h }{\fldrslt Basic Tutorial}} +\b0 + +, only adding some more details to do more advanced formatting like adding images to books or how to make links that display text instead of numbers. \ +\ + +\b \qc {\*\bkmkstart s6}6{\*\bkmkend s6} +\b0\ +\ql Dynamic Tutorial. \ +\ + +\b \qc {\*\bkmkstart s7}7{\*\bkmkend s7} +\b0\ +\ql Customization Tutorial. \ +\ + +\b \qc {\*\bkmkstart s8}8{\*\bkmkend s8} +\b0\ +\ql Reference. \ +\ + +} diff --git a/expected/doc.tex b/expected/doc.tex new file mode 100644 index 0000000..b118b13 --- /dev/null +++ b/expected/doc.tex @@ -0,0 +1,113 @@ +\documentclass[a5paper,onecolumn]{book} + +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[hidelinks]{hyperref} +\usepackage{graphicx} + +\usepackage[top=3.3cm, bottom=3.3cm, left=2cm, right=2cm]{geometry} +\newif\ifpdf +\ifx\pdfoutput\undefined + \pdffalse +\else + \ifnum\pdfoutput=1 + \pdftrue + \else + \pdffalse + \fi +\fi + +\title{gamebookformat 1.0 documentation} +\author{Pelle Nilsson} +\date{} + +\newcounter{sectionnr} + +\begin{document} + +\maketitle + +\clearpage + +\thispagestyle{empty} + +\pagestyle{empty} +\subsection*{\begin{center} \textbf{Introduction} \end{center}} + + + \noindent + This is the documentation for gamebookformat 1.0. It was itself generated using gamebookformat (or more precisely the formatgamebook.py tool). +\vspace{1em} + +Turn to 1 to begin. +\phantomsection +\refstepcounter{sectionnr} +\label{section1} +\subsection*{\begin{center} \textbf{1} \end{center}} + + \noindent + Getting Started. +\vspace{1em} +\phantomsection +\refstepcounter{sectionnr} +\label{section2} +\subsection*{\begin{center} \textbf{2} \end{center}} + + \noindent + Installation. +\vspace{1em} +\phantomsection +\refstepcounter{sectionnr} +\label{section3} +\subsection*{\begin{center} \textbf{3} \end{center}} + + \noindent + Tutorials. There are 4 tutorials of increasing complexity currently included in this document: The Basic Tutorial (\textbf{\autoref{section4}}) + shows how to make a simple static gamebook for printing or reading on a screen. The Advanced Tutorial (\textbf{\autoref{section5}}) + adds many formatting tricks to make more interesting gamebooks, but still only very static. The Dynamic Tutorial (\textbf{\autoref{section6}}) + finally explains how to add mark-up to your gamebooks to be make dynamic HTML gamebooks that can be played in a browser (while still work well if it is printed on paper or viewed in a simple ebook reader). Finally The Customization Tutorial (\textbf{\autoref{section7}}) + shows how to override the default templates to make small or big changes to how gamebooks are rendered. The tutorials do not cover all features of gamebookformat, so also have a look at the included examples and the Reference section below (\textbf{\autoref{section8}}) + to learn about all the things the tools can do. +\vspace{1em} +\phantomsection +\refstepcounter{sectionnr} +\label{section4} +\subsection*{\begin{center} \textbf{4} \end{center}} + + \noindent + Basic Tutorial. This tutorial will guide you through creating a simple gamebook with linked sections of text with some simple formatting, resulting in static html and rtf documents that can be easily navigated for manual play printed on paper or on any computer or ebook reader. +\vspace{1em} +\phantomsection +\refstepcounter{sectionnr} +\label{section5} +\subsection*{\begin{center} \textbf{5} \end{center}} + + \noindent + Advanced Tutorial. This tutorial continues the Basic Tutorial (\textbf{\autoref{section4}}) +, only adding some more details to do more advanced formatting like adding images to books or how to make links that display text instead of numbers. +\vspace{1em} +\phantomsection +\refstepcounter{sectionnr} +\label{section6} +\subsection*{\begin{center} \textbf{6} \end{center}} + + \noindent + Dynamic Tutorial. +\vspace{1em} +\phantomsection +\refstepcounter{sectionnr} +\label{section7} +\subsection*{\begin{center} \textbf{7} \end{center}} + + \noindent + Customization Tutorial. +\vspace{1em} +\phantomsection +\refstepcounter{sectionnr} +\label{section8} +\subsection*{\begin{center} \textbf{8} \end{center}} + + \noindent + Reference. +\vspace{1em} +\end{document} diff --git a/expected/doc.txt b/expected/doc.txt new file mode 100644 index 0000000..c05c0be --- /dev/null +++ b/expected/doc.txt @@ -0,0 +1,31 @@ + gamebookformat 1.0 documentation + +Introduction + This is the documentation for gamebookformat 1.0. It was itself generated using gamebookformat (or more precisely the formatgamebook.py tool). + + +Turn to 1 to begin. +1 + Getting Started. + +2 + Installation. + +3 + Tutorials. There are 4 tutorials of increasing complexity currently included in this document: The Basic Tutorial (4) shows how to make a simple static gamebook for printing or reading on a screen. The Advanced Tutorial (5) adds many formatting tricks to make more interesting gamebooks, but still only very static. The Dynamic Tutorial (6) finally explains how to add mark-up to your gamebooks to be make dynamic HTML gamebooks that can be played in a browser (while still work well if it is printed on paper or viewed in a simple ebook reader). Finally The Customization Tutorial (7) shows how to override the default templates to make small or big changes to how gamebooks are rendered. The tutorials do not cover all features of gamebookformat, so also have a look at the included examples and the Reference section below (8) to learn about all the things the tools can do. + +4 + Basic Tutorial. This tutorial will guide you through creating a simple gamebook with linked sections of text with some simple formatting, resulting in static html and rtf documents that can be easily navigated for manual play printed on paper or on any computer or ebook reader. + +5 + Advanced Tutorial. This tutorial continues the Basic Tutorial (4), only adding some more details to do more advanced formatting like adding images to books or how to make links that display text instead of numbers. + +6 + Dynamic Tutorial. + +7 + Customization Tutorial. + +8 + Reference. + diff --git a/expected/doc.vcheck b/expected/doc.vcheck new file mode 100644 index 0000000..2dfe399 --- /dev/null +++ b/expected/doc.vcheck @@ -0,0 +1,13 @@ +examples/doc.json: Could not reach section 'custtut' from start. +examples/doc.json: Could not reach section 'basictut' from start. +examples/doc.json: Could not reach section 'dyntut' from start. +examples/doc.json: Could not reach section 'install' from start. +examples/doc.json: Could not reach section 'tutorials' from start. +examples/doc.json: Could not reach section 'advancedtut' from start. +examples/doc.json: Could not reach section 'reference' from start. +examples/doc.json: ending (death?) section found: custtut +examples/doc.json: ending (death?) section found: basictut +examples/doc.json: ending (death?) section found: start +examples/doc.json: ending (death?) section found: dyntut +examples/doc.json: ending (death?) section found: install +examples/doc.json: ending (death?) section found: reference diff --git a/expected/format.map b/expected/format.map new file mode 100644 index 0000000..2f9c94a --- /dev/null +++ b/expected/format.map @@ -0,0 +1 @@ +{"named2": 5, "named1": 6, "good": 3, "dum": 7, "start": 1, "bad": 2, "formatspecific": 4} \ No newline at end of file diff --git a/expected/items.map b/expected/items.map new file mode 100644 index 0000000..5ff90d2 --- /dev/null +++ b/expected/items.map @@ -0,0 +1 @@ +{"drop_stick": 8, "curse": 9, "door": 11, "start": 1, "autotest": 2, "inside": 5, "treasure": 6, "cut_rope": 4, "tjunction": 12, "won": 3, "portal": 7, "attempt_break_door_with_sword": 10} \ No newline at end of file diff --git a/expected/itemslist.map b/expected/itemslist.map new file mode 100644 index 0000000..5ff90d2 --- /dev/null +++ b/expected/itemslist.map @@ -0,0 +1 @@ +{"drop_stick": 8, "curse": 9, "door": 11, "start": 1, "autotest": 2, "inside": 5, "treasure": 6, "cut_rope": 4, "tjunction": 12, "won": 3, "portal": 7, "attempt_break_door_with_sword": 10} \ No newline at end of file diff --git a/expected/itemstaglist.map b/expected/itemstaglist.map new file mode 100644 index 0000000..f80ea31 --- /dev/null +++ b/expected/itemstaglist.map @@ -0,0 +1 @@ +{"tjunction": 3, "end_todo": 1, "curse": 2, "start": 1} \ No newline at end of file diff --git a/expected/references.map b/expected/references.map new file mode 100644 index 0000000..d2a8fbc --- /dev/null +++ b/expected/references.map @@ -0,0 +1 @@ +{"Dummy": 396, "end": 397, "random": 399, "altend": 398, "next": 400, "start": 1} \ No newline at end of file diff --git a/expected/trade.map b/expected/trade.map new file mode 100644 index 0000000..dd73281 --- /dev/null +++ b/expected/trade.map @@ -0,0 +1 @@ +{"start": 1, "other": 4, "theend": 2, "someotherplace": 3} \ No newline at end of file diff --git a/expected/unreachable.map b/expected/unreachable.map new file mode 100644 index 0000000..5021035 --- /dev/null +++ b/expected/unreachable.map @@ -0,0 +1 @@ +{"notevenincluded": 4, "nothere": 5, "here": 6, "start": 1, "nothereeither": 3, "secondfake": 2} \ No newline at end of file diff --git a/expected/withdemo.map b/expected/withdemo.map new file mode 100644 index 0000000..4026643 --- /dev/null +++ b/expected/withdemo.map @@ -0,0 +1 @@ +{"demo2": 4, "start": 1, "demo1": 5, "theend": 3, "demoinfo": 2} \ No newline at end of file diff --git a/expected/withmaps.map b/expected/withmaps.map new file mode 100644 index 0000000..acb7d93 --- /dev/null +++ b/expected/withmaps.map @@ -0,0 +1 @@ +{"Dummy": 98, "end": 99, "start": 10} \ No newline at end of file diff --git a/expected/withmaps1.map b/expected/withmaps1.map new file mode 100644 index 0000000..017892d --- /dev/null +++ b/expected/withmaps1.map @@ -0,0 +1 @@ +{"start" : 10} \ No newline at end of file diff --git a/expected/withmaps2.map b/expected/withmaps2.map new file mode 100644 index 0000000..6e5103b --- /dev/null +++ b/expected/withmaps2.map @@ -0,0 +1 @@ +{"end" : 99} \ No newline at end of file diff --git a/expected/withoutdemo.map b/expected/withoutdemo.map new file mode 100644 index 0000000..3adf087 --- /dev/null +++ b/expected/withoutdemo.map @@ -0,0 +1 @@ +{"notindemo2": 6, "altend": 2, "demo2": 5, "start": 1, "demo1": 7, "theend": 4, "demoinfo": 3, "notindemo1": 8} \ No newline at end of file diff --git a/templates/html/b.html b/templates/html/b.html new file mode 100644 index 0000000..f93c496 --- /dev/null +++ b/templates/html/b.html @@ -0,0 +1 @@ +%(inner)s diff --git a/templates/json/b.json b/templates/json/b.json new file mode 100644 index 0000000..348ab3c --- /dev/null +++ b/templates/json/b.json @@ -0,0 +1 @@ +, "%(inner)s"