PHP Classes

File: mk-html-gitlog.sh

Recommend this page to a friend!
  Classes of Barton Phillips   Simple Site Class   mk-html-gitlog.sh   Download  
File: mk-html-gitlog.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple Site Class
Simple Site Class
Author: By
Last change: Updated dates to 2024. mk-html-gitlog.sh makes a gitlog-simple in bartonlp.com.
modified: README.md
modified: docs/dbTables.md
modified: docs/files.md
modified: docs/index.md
modified: docs/siteclass.md
modified: mk-html-gitlog.sh
Reworked docs and examles.
modified: README.html
modified: docs/dbTables.html
modified: docs/examplereadme.html
modified: docs/files.html
modified: docs/index.html
deleted: docs/mk-html.sh
modified: docs/mk-new.sh
modified: docs/siteclass.html
renamed: docs/pandoc.css -> docs/stylesheets/pandoc.css
modified: examples/IfComposer/example1.php
modified: examples/IfComposer/example2.php
modified: examples/IfComposer/example3.php
modified: examples/IfComposer/example4.php
modified: examples/IfComposer/example5.php
modified: examples/README.md
modified: mk-html-gitlog.sh
Date: 14 days ago
Size: 1,330 bytes
 

Contents

Class file image Download
#!/bin/bash # !!! You need pandoc: sudo apt-get install pandoc # Create the simple gitlog git log --all --graph -p --decorate > ~/www/bartonlp.com/gitlog-simple # Make .html files from .md files pagetitle="Main Readme file"; /usr/bin/pandoc -Vpagetitle="$pagetitle" --css=docs/stylesheets/pandoc.css --standalone -f gfm -t html5 README.md -o index.html # now move into the docs directory and do those html files cd docs # Make .html files from .md files echo "index"; pagetitle="index"; /usr/bin/pandoc -f gfm -t html5 -Vpagetitle="$pagetitle" --css=stylesheets/styles.css --standalone index.md -o index.html echo "dbTables"; pagetitle="dbTables"; /usr/bin/pandoc -f gfm -t html5 -Vpagetitle="$pagetitle" --css=stylesheets/pandoc.css --standalone dbTables.md -o dbTables.html echo "simplesiteclass"; pagetitle="SimpleSiteClass Methods"; /usr/bin/pandoc -f gfm -t html5 -Vpagetitle="$pagetitle" --css=stylesheets/pandoc.css --standalone siteclass.md -o siteclass.html pagetitle="Additional Files"; echo "files"; /usr/bin/pandoc -f gfm -t html5 -Vpagetitle="$pagetitle" --css=stylesheets/pandoc.css --standalone files.md -o files.html pagetitle="examplereadme"; echo "examplereadme"; /usr/bin/pandoc -f gfm -t html5 -Vpagetitle="$pagetitle" --css=stylesheets/pandoc.css --standalone ../examples/README.md -o examplereadme.html