Comments (6)
Fixed the cheat sheet to version 2021-11
from catmandu.
Fixed the documentation in the Wiki also, trying to rebuild the librecat.org webpage but I don't see the changes yet appear there.
There a pandoc command in the procedure to produce a Wiki book from our Wikipages that is deprecated. Alas I am not a pandoc expert (and didn't created this routine) described in : https://github.com/LibreCat/librecat.github.io.
Maybe @nichtich can help ? I think he created the pandoc version of the Wiki as one book?
from catmandu.
@phochste Thanks!
from catmandu.
@phochste can you point me to the build script, log file etc. that involves pandoc?
from catmandu.
It is part of the [email protected]:LibreCat/Catmandu.wiki.git
repository in the book/
directory. To bad I can't point at it via the web.
Makefile says:
.SUFFIXES: .md .html .pdf
.PHONY: git-clean files push
NAME=index
default: $(NAME).html
$(NAME).md: files ../*.md metadata.yml
cat metadata.yml > $@
perl combine-handbook.pl < ../Home.md >> $@
files:
rsync -r --include="*.jpg" --include="*.png" --exclude="*" ../files/ files/
PANDOC_OPTIONS=--toc -N -s -S --section-divs --template template.html
PANDOC_OPTIONS+=--css https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css
PANDOC_OPTIONS+=--css layout.css
.md.html:
pandoc $(PANDOC_OPTIONS) -t html5 -o $@ $<
# requires LaTeX
.md.pdf:
pandoc $(PANDOC_OPTIONS) -o $@ $<
git-clean:
#@if git status --porcelain 2>/dev/null | grep -q .; then echo "Nothing changed"; exit 1; fi
date
gh-pages: git-clean $(NAME).html
cp layout.css files
git checkout gh-pages
git pull homepage gh-pages
rsync -r files/ ../files/
cp $(NAME).html ../index.html
mv files/layout.css ..
With my pandoc pandoc 2.16.1 I get
rsync -r --include="*.jpg" --include="*.png" --exclude="*" ../files/ files/
cat metadata.yml > index.md
perl combine-handbook.pl < ../Home.md >> index.md
pandoc --toc -N -s -S --section-divs --template template.html --css https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css --css layout.css -t html5 -o index.html index.md
--smart/-S has been removed. Use +smart or -smart extension instead.
For example: pandoc -f markdown+smart -t markdown-smart.
Try pandoc --help for more information.
make: *** [index.html] Error 6
from catmandu.
I got the homepage generation page scripts too work..but I still don't understand completely how it works.
from catmandu.
Related Issues (20)
- create fix "strict" to introduce stricter syntax in fixes HOT 1
- Catmandu::Paged : "illegal division by zero" when limit is 0 HOT 5
- Catmandu::CQLSearchable pod example sru_sortkeys is wrong? HOT 1
- add Iterable peek method
- Working with a list/array of objects HOT 2
- Installation fails for Perl <5.14 HOT 1
- Support fixing Catmandu::Iterable
- Replace Travis with GitHub Actions HOT 8
- Wildcards-Documentation $start, $end, $first, $last HOT 2
- "Flattening" records into unique rows HOT 3
- Can't locate object method "isa" via package "Parser::MGC::Failure" HOT 4
- Catmandu installation failed since last update HOT 3
- `retain_field` still in documentation and tutorials HOT 1
- `paste` processes when not all or none of the path are provided HOT 1
- is_string conditional and number strings HOT 1
- documentation links are broken HOT 5
- Character encoding broken in MARC-in-JSON export HOT 1
- cpanratings.perl.org no longer exists
- Empty paths are ill-defined in Catmandu and are buggy in some cases.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catmandu.