Skip to content

Commit

Permalink
Fix the indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Jan 7, 2025
1 parent c139a9c commit d36a100
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 29 deletions.
5 changes: 4 additions & 1 deletion src/open-source/projects/Park-Lisp/index.xhtml.tt2
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[%- SET title = "Documentation for the Park Lisp Dialect" -%]
[%- SET desc = "Documentation for the Park Lisp Dialect" -%]


[%- WRAPPER wrap_html -%]

<h2 id="about">About</h2>
Expand All @@ -20,11 +19,15 @@ language. (As from my impression Arc still leaves a lot to be desired.)
<ul>

<li>
<p>
<a href="park-lisp-informal-spec/">HTML</a>
</p>
</li>

<li>
<p>
<a href="park-lisp-informal-spec.xml">DocBook 4/XML</a>
</p>
</li>

</ul>
Expand Down
10 changes: 10 additions & 0 deletions src/open-source/projects/Spark/index.xhtml.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ tasks, open-source, accessible and usable.
<ul>

<li>
<p>
<a href="mission/">“Spark - Pre-Birth of a Modern Lisp”</a> - our mission
statement.
</p>
</li>

</ul>
Expand All @@ -25,22 +27,30 @@ statement.
<ul>

<li>
<p>
<a href="https://github.com/shlomif/spark">Spark repository and resources on GitHub</a>
</p>
</li>

<li>
<p>
<a href="http://www.paulgraham.com/popular.html">“Being Popular” by Paul
Graham</a> - what makes programming languages popular.
</p>
</li>

<li>
<p>
<a href="http://community.livejournal.com/shlomif_tech/18438.html">The
Seven Deadly Sins of Arc</a> - what Shlomi Fish found lacking in Arc.
</p>
</li>

<li>
<p>
<a href="http://www.paulgraham.com/power.html">“Succinctness is Power”</a>
- why brevity matters.
</p>
</li>

</ul>
Expand Down
7 changes: 6 additions & 1 deletion src/open-source/projects/Spark/mission/index.xhtml.tt2
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[%- SET title = "Spark - Pre-Birth of a Modern Lisp" -%]
[%- SET desc = "Spark - Pre-Birth of a Modern Lisp" -%]


[%- WRAPPER wrap_html -%]

[% default_toc %]
Expand All @@ -21,19 +20,25 @@
<ul>

<li>
<p>
<a href="Spark-Pre-Birth-of-a-Modern-Lisp.txt">AsciiDoc source
(plaintext)</a> - requires
<a href="http://www.methods.co.nz/asciidoc/">AsciiDoc</a> to be converted
to HTML or DocBook/XML.
</p>
</li>

<li>
<p>
<a href="Spark-Pre-Birth-of-a-Modern-Lisp.pdf">PDF (Adobe Acrobat)</a> -
please don’t print, though.
</p>
</li>

<li>
<p>
<a href="Spark-Pre-Birth-of-a-Modern-Lisp.xml">DocBook/XML</a>
</p>
</li>

</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/open-source/projects/XML-Grammar/Base/index.xhtml.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for various tasks.

[% WRAPPER h3_section id = "links-xml-grammarbase" title = "For ${page_cpan_dist}" %]

[% WRAPPER github_cpan_dist_links dist = page_cpan_dist
[% WRAPPER github_cpan_dist_links dist = page_cpan_dist
freecode_url = "http://freecode.com/projects/xml-grammarbase/"
github_url = "https://github.com/shlomif/perl-XML-GrammarBase" %]
[%- END -%]
Expand Down
52 changes: 26 additions & 26 deletions src/open-source/projects/XML-Grammar/Fiction/index.xhtml.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[% main_class.addClass("lim_width", "wrap-me", ) %]

[% WRAPPER about_sect %]
[% WRAPPER about_sect %]

<p>
[% cpan_dist %] provides <b>Fiction-Text</b>, a lightweight
Expand Down Expand Up @@ -37,24 +37,24 @@ for various tasks.

[%- END -%]

[% WRAPPER h2_section id = "links" title = "Project Links" %]
[% WRAPPER h2_section id = "links" title = "Project Links" %]

[% WRAPPER h3_section id = "links-xml-grammar-fiction" title="For ${cpan_dist}" %]
[% WRAPPER h3_section id = "links-xml-grammar-fiction" title = "For ${cpan_dist}" %]

[% WRAPPER github_cpan_dist_links dist="${cpan_dist}"
freecode_url="http://freecode.com/projects/xml-grammar-fiction/"
github_url="https://github.com/shlomif/fiction-xml" %]
[% WRAPPER github_cpan_dist_links dist = "${cpan_dist}"
freecode_url = "http://freecode.com/projects/xml-grammar-fiction/"
github_url = "https://github.com/shlomif/fiction-xml" %]
[%- END -%]

[%- END -%]

[%- END -%]

[% PROCESS x11_licence name="${cpan_dist}" %]
[% PROCESS x11_licence name = "${cpan_dist}" %]

[% WRAPPER h2_section id = "examples" title = "Examples" %]
[% WRAPPER h2_section id = "examples" title = "Examples" %]

[% WRAPPER h3_section id = "fiction_examples" title = "Fiction-Text Examples" %]
[% WRAPPER h3_section id = "fiction_examples" title = "Fiction-Text Examples" %]

[% BLOCK url_to_data_examples %]
https://github.com/shlomif/Fiction-XML/tree/master/perl/modules/XML-Grammar-Fiction/t/[% base %]/data/proto-text
Expand All @@ -64,7 +64,7 @@ https://github.com/shlomif/Fiction-XML/tree/master/perl/modules/XML-Grammar-Fict

<li>
<p>
<a href="[% INCLUDE url_to_data_examples base="fiction" %]"><b>Distributed Examples</b></a>- there are some short examples under
<a href="[% INCLUDE url_to_data_examples base = "fiction" %]"><b>Distributed Examples</b></a>- there are some short examples under
<code>t/fiction/data/</code> in the distribution (mostly in English).
</p>
</li>
Expand Down Expand Up @@ -96,13 +96,13 @@ Fiction-Text.

[%- END -%]

[% WRAPPER h3_section id = "screenplay_examples" title = "Screenplay-Text Examples" %]
[% WRAPPER h3_section id = "screenplay_examples" title = "Screenplay-Text Examples" %]

<ul>

<li>
<p>
<a href="[% INCLUDE url_to_data_examples base="screenplay" %]"><b>Distributed
<a href="[% INCLUDE url_to_data_examples base = "screenplay" %]"><b>Distributed
Examples</b></a>- there are some short and silly examples
in the <code>t/screenplay/data</code> directory in the distribution.
</p>
Expand Down Expand Up @@ -205,11 +205,11 @@ crossover.).

[%- END -%]

[% WRAPPER news_sect %]
[% WRAPPER news_sect %]

[% IF 0 %]

[% WRAPPER h3_section id = "news-2011-05-22" title="2011-05-22: ${cpan_dist} version 0.5.1 is out"%]
[% WRAPPER h3_section id = "news-2011-05-22" title = "2011-05-22: ${cpan_dist} version 0.5.1 is out" %]

<p>
There are many improvements in this release. Since the last news item here,
Expand Down Expand Up @@ -256,7 +256,7 @@ Add support for numeric entities such as <code>&amp;#91;</code>.

[%- END -%]

[% WRAPPER h3_section id = "news-2011-04-05" title="2011-04-05: ${cpan_dist} version 0.1.5 is out"%]
[% WRAPPER h3_section id = "news-2011-04-05" title = "2011-04-05: ${cpan_dist} version 0.1.5 is out" %]

<p>
This release has many small bug-fixes and improvements:
Expand Down Expand Up @@ -292,7 +292,7 @@ Everyone are recommended to upgrade.

[%- END -%]

[% WRAPPER h3_section id = "news-2009-11-25" title="2009-11-25: ${cpan_dist} version 0.0.2 was released"%]
[% WRAPPER h3_section id = "news-2009-11-25" title = "2009-11-25: ${cpan_dist} version 0.0.2 was released" %]

<p>
[% cpan_dist %] was released today, and should be available on CPAN
Expand All @@ -304,7 +304,7 @@ improvements, and there may have been a few accidental fixes.

[%- END -%]

[% WRAPPER h3_section id = "news-2009-11-05" title="2009-11-05: ${cpan_dist} version 0.0.1 was released"%]
[% WRAPPER h3_section id = "news-2009-11-05" title = "2009-11-05: ${cpan_dist} version 0.0.1 was released" %]

<p>
The first version of [% cpan_dist %] (v0.0.1) was unleashed onto the
Expand All @@ -325,9 +325,9 @@ to you for this NaNoWriMo or future ones.
[% END %]
[%- END -%]

[% WRAPPER h2_section id = "coverage" title="Coverage of ${cpan_dist}" %]
[% WRAPPER h2_section id = "coverage" title = "Coverage of ${cpan_dist}" %]

[% WRAPPER h3_section id = "coverage-shlomif" title = "Coverage in Shlomi Fish’s Blogs" %]
[% WRAPPER h3_section id = "coverage-shlomif" title = "Coverage in Shlomi Fish’s Blogs" %]

<ul>

Expand Down Expand Up @@ -384,9 +384,9 @@ to you for this NaNoWriMo or future ones.

[%- END -%]

[% WRAPPER h2_section id = "demos" title = "Demos" %]
[% WRAPPER h2_section id = "demos" title = "Demos" %]

[% WRAPPER h3_section id = "demo-fiction1" title = "Fiction Demo 1" %]
[% WRAPPER h3_section id = "demo-fiction1" title = "Fiction Demo 1" %]

<p>
If we have this sample Fiction-Text document:
Expand All @@ -402,14 +402,14 @@ Then after converting it to XML and then to XHTML we get this:

<div class="fiction_xml">
[% xml_fiction_slurp.my_calc(
fn => 'lib/docbook/5/rendered/fiction-text-example-for-X-G-Fiction-demo.xhtml',
index_id => 'fiction_text_index',
) %]
fn => 'lib/docbook/5/rendered/fiction-text-example-for-X-G-Fiction-demo.xhtml',
index_id => 'fiction_text_index',
) %]
</div>

[%- END -%]

[% WRAPPER h3_section id = "demo-screenplay1" title = "Screenplay Demo 1" %]
[% WRAPPER h3_section id = "demo-screenplay1" title = "Screenplay Demo 1" %]

[% WRAPPER h4_section id = "demo-screenplay1-source" title = "Source" %]

Expand Down Expand Up @@ -475,7 +475,7 @@ Screenplay-Text should support Unicode, UTF-8 and internationalisation well.

[% END %]

[% WRAPPER h2_section id = "similar" title = "Similar Projects" %]
[% WRAPPER h2_section id = "similar" title = "Similar Projects" %]

<ul>

Expand Down

0 comments on commit d36a100

Please sign in to comment.