Code Monkey home page Code Monkey logo

picolisp-onedoc-html's Introduction

picolisp-onedoc-html

Concatenate PicoLisp reference and tutorial files into one file

Sometimes one may want to have all the PicoLisp reference and tutorial files available as one big HTML file. To concatenate lots of files may be trivial, however, adjusting all the internal links turned out to be a challenge. Now it seems to work.

One thing that remains to be fixed, is the JavaScript based buttons "Sort Words Alphabetically". They end up side by side in the main Function Reference, and they don't work. It's probably best to solve this in the original files, but I have not found the right way to do it yet.

Before you run the script, you should

cd picoLisp/doc/

Then do

pil pathTo/convConcat.l pathTo/output.html

The resulting file "output.html" now contains all references and tutorials, but you need to supply a header and some "footer". You may copy/paste these parts from the file src/head-foot.html.

To get a nice working layout I suggest you use the file src/doc.css. This CSS can certainly be improved, but for now it should be OK. It may also work OK on a tablet.

An example of a complete concatenated file can be seen here:

http://folk.uio.no/jkleiser/pico/one/one.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.