Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Universal document publishing system.

License

NotificationsYou must be signed in to change notification settings

pojntfx/deliverance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project icon

Deliverance

Universal document publishing system.


copy CIMatrix

Overview

Deliverance: The ship assigned to carryHari Seldon and his Foundation to colonize the planet Terminus

Deliverance is a minimal (a singleMakefile) digital publishing system that intents to make distributing self-contained documents, whether these are study notes, research papers, lab reports or even a bachelor's thesis, trivial. It has been in use for multiple years to create reports and study materials atMedia University Stuttgart.

It enables you to:

  • Publish using Markdown: By using the well-supported Markdown format as its input language, Deliverance easily fits into your existing workflow.
  • Support many output formats without complicated configuration: By default, Deliverance builds into many output formats at once - including PDF, HTML, EPUB, TXT, Gemini, ODT, DOCX, various slide formats and more!
  • Create self-contained and reproducible documents: Deliverance creates fully self-contained and self-documenting outputs, including the full Git changelog, source repo URL, source code itself and more.
  • Integrate with CI/CD systems: By using the Deliverance GitHub action, you can easily publish your documents to GitHub pages or other hosts.
  • Use LaTeX and BibTeX features: Thanks to its internal use ofpandoc, Deliverance can be used for scientific publishing.

Examples

To make getting started with Deliverance easier, take a look at the following examples (or continue on toUsage):

Tutorial

TL;DR: Create aconfigure script, write your documents in Markdown, and publish to the web with the GitHub action

Prefer starting with an starter project? Check out theexamples!

1. Setting Up Your Repo

First, create a new repository. On GitHub, you can do this by heading togithub.com/new, but you can also create a local repo usinggit init. After you've cloned or initialized your repo, create theconfigure script in it and make it executable:

$ tee> configure<<EOT#!/bin/shcurl -LO https://github.com/pojntfx/deliverance/releases/latest/download/MakefileEOT$ chmod +x configure$ tee> .gitgnore<<EOToutMakefileEOT

Once you've done that, you can use it to download the latest DeliveranceMakefile and download the dependencies:

$ ./configure$ make depend

Now, add aLICENSE file, aREADME.md etc. - you can find examples for this inexamples.

2. Writing Your Documents

Your Markdown documents should be in thedocs folder; you can put any static assets, such as pictures, references or quotation styles, intostatic/docs - for example, you can start with this document indocs/main.md:

---author:[Felicitas Pojtinger]date:"2023-01-28"subject:"Uni Webdev Backend Summary"keywords:[webdev-backend, hdm-stuttgart]subtitle:"Summary for the webdev backend course at HdM Stuttgart"lang:"de"---#Uni Webdev Backend Summary##Meta###ContributingThese study materials are heavily based on[professor Toenniessen's "Web Development Backend" lecture at HdM Stuttgart](https://www.hdm-stuttgart.de/bibliothek/studieninteressierte/bachelor/block?sgname=Mobile+Medien+%28Bachelor%2C+7+Semester%29&sgblockID=2573378&sgang=550041&blockname=Web+Development+Backend) and prior work of fellow students.**Found an error or have a suggestion?** Please open an issue on GitHub ([github.com/pojntfx/uni-webdev-backend-notes](https://github.com/pojntfx/uni-webdev-backend-notes)):![QR code to source repository](./static/qr.png){ width=150px }If you like the study materials, a GitHub star is always appreciated :)###License![AGPL-3.0 license badge](https://www.gnu.org/graphics/agplv3-155x51.png){ width=128px }Uni Webdev Backend Notes (c) 2023 Felicitas Pojtinger and contributorsSPDX-License-Identifier: AGPL-3.0\newpage##Themen der Vorlesung1.**Einführung in Node.js** und einfache HTML-Fileserver2.**RESTful Endpoints** mit Express.js3. Die Template-Engine**EJS** und**Express-Sessions**4. Datenbanken mit**MongoDB und Mongoose**

Depending on the type of document you want to write, you might also benefit from including an abstract, bibliography or more - you can find examples for this inexamples.

Once you've added your starter document (you can also add multiple ones), you can start iterating on it by runningmake dev-pdf/main - this will start compiling your notes to a PDF file on each change. You can then usemake open-pdf/main to open the PDF file, or iterate on one of the other formats by usingmake dev-html/main,make dev-txt/main - there are many othermake targets available as well, so be sure to check these out withmake <tab>.

3. Publishing To The Web

To publish to the web, you can either runmake and upload theout/release.tar.gz archive to your web server of choice, or use the provided GitHub action by adding the following to.github/deliverance.yaml:

name:Deliverance CIon:push:pull_request:schedule:    -cron:"0 0 * * 0"jobs:build-linux:runs-on:ubuntu-lateststeps:      -name:Checkout, build and publish with Deliveranceuses:pojntfx/deliverance@latestwith:github_token:"${{ secrets.GITHUB_TOKEN }}"

After you've added this file, push to your repo, enable GitHub pages for thegh-pages branch and your documents should be accessible to everyone with an internet connection. Here is an example of a published document:uni-supply-chain-paper

🚀 You're all set to publish your documents! We can't wait to see what you're going to share with Deliverance.

Acknowledgements

  • pandoc does most of the heavy lifting by providing the file conversion capabilities.
  • Eisvogel provides the LaTeX template for PDF outputs.
  • makew0rld/md2gemini enables the Markdown to Gemini conversion.

Contributing

To contribute, please use theGitHub flow and follow ourCode of Conduct.

Have any questions or need help? Chat with uson Matrix!

License

Deliverance (c) 2024 Felicitas Pojtinger and contributors

SPDX-License-Identifier: AGPL-3.0

About

Universal document publishing system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp