Skip to content

Commit

Permalink
update source path
Browse files Browse the repository at this point in the history
bump nimble version
  • Loading branch information
jordan committed Jan 18, 2021
1 parent d17d522 commit 0c6a163
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The corresponding *NIM* source code to configure the template text processor
that produces this outcome looks like

import
algorithm, os, sequtils, tmplpro/tmplpro
algorithm, os, sequtils, tmplpro

iterator envItems(p: TmplParser): TmplParser {.closure.} =
for k in envPairs.toSeq.mapIt(it.key.string).sorted:
Expand Down
2 changes: 1 addition & 1 deletion docs/tmplpro/tmplpro.html → docs/src/tmplpro.html
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2021-01-18 14:43:02 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2021-01-18 19:21:30 UTC</small>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html>
<head>
<title>Documentation Page Relay</title>
<meta http-equiv="refresh" content="0; URL=docs/tmplpro/tmplpro.html">
<meta http-equiv="refresh" content="0; URL=docs/src/tmplpro.html">
</head>
<body bgcolor="#fff" text="#000" link="#00c" vlink="#777" alink="#00e">
Forward to <a href="docs/tmplpro/tmplpro.html"><b><em>Docu Page</em></b></a>
Forward to <a href="docs/src/tmplpro.html"><b><em>Docu Page</em></b></a>
</body>
</html>
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ README.html: README.md

# ----

DOCS = docs/tmplpro/tmplpro.html
DOCS = docs/src/tmplpro.html

update: $(DOCS)

PWD = `pwd`

$(DOCS) : tmplpro/tmplpro.nim
$(DOCS) : src/tmplpro.nim
nim doc --outdir:docs --docRoot:$(PWD) $<

# ----
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/nim.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--path=".."
--path="../src"
2 changes: 1 addition & 1 deletion tests/tmplpro_test.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#

import
algorithm, os, sequtils, strformat, strutils, tables, tmplpro/tmplpro
algorithm, os, sequtils, strformat, strutils, tables, tmplpro

const
noisy {.intdefine.}: int = 0
Expand Down
3 changes: 2 additions & 1 deletion tmplpro.nimble
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Package

description = "Text template processor, handy not only for CGI"
version = "0.1.1"
version = "0.1.2"

author = "Jordan Hrycaj"
license = "UNLICENCE"

requires "nim >= 1.4.2"
srcDir= "src"

# Tasks

Expand Down

0 comments on commit 0c6a163

Please sign in to comment.