Skip to main content

OnePager allows you to create simple and easy-to-navigate documentation for all your projects

Project description

PyPi Project status Python version

:notebook: OnePager :notebook:

onepager

Welcome to the official repository for the OnePager library. OnePager is still under development and is therefore likely to undergo some minor changes over the next few months.

To install OnePager simply create a virtual environment (optional) and run pip install onepager.

Table of Contents :bookmark_tabs:

What is OnePager? :bulb:

OnePager allows you to generate simple and easy-to-navigate documentation for all your projects.

All you have to do is create a document and start writing some custom markdown syntax. Run onepager name_of_your_document.md and OnePager will automatically convert this document into a beautiful html page.

Special thanks to my workmate Evan who gave me the idea of starting this project.

Why use OnePager? :heart:

  • Easy to deploy and use daily
  • Mobile-friendly documents
  • Cleaner and more visually appealing than traditional Word documents
  • Easy bookmarking in browsers for centralized documentation
  • Familiar Markdown syntax
  • Colleagues can access documentation without editing capabilities (edits require modifying the corresponding Markdown file and running the Python script)

Why Pico.css? :two_hearts:

Pico.css is a fantastic CSS framework balancing ease of use with creative freedom. While less feature-rich than frameworks like Bulma, Pico offers a wide range of options with a lightweight footprint.

Like other minimal CSS frameworks, Pico handles many background styling tasks, freeing you to focus on content.

Create your first OnePager document :pencil:

For OnePager to work, follow these simple steps:

  1. First line of your markdown file: This line should always adhere to the following structure:

[title],[owner 1],[owner 2 (optional)],[owner 3 (optional)],etc..

Example:

This is a document,Julien,Fiona
  1. Collapsible sections: Each section starts with BEGIN,[section title] and ends with END.

Example:

BEGIN,This is a section about pizzas

Pizzas are **awesome**

END
  1. Support for text highlighting: Simply wrap any term or sequence of terms you want highlighted around the ??! and !?? signs.

Example:

It seems that ??!this word!?? is very important.

Next simply paste the following code into a file named test.md:

This is a document,Julien,Fiona

Hi, I like junk food!

BEGIN,My fav type of food

Pizzas are ??!awesome!??

END

Now run the following command:

onepager test.md

This should create an html file named test.html that you can now open in your favourite browser.

Offline version :open_file_folder:

:warning: Currently, an internet connection is required for documents created with OnePager to render properly. :warning:

Coming soon! Support for offline documents is in development.

Roadmap :date:

  • Offline mode support :construction_worker:
  • Support for additional minimal CSS frameworks such as Milligram :construction_worker:

License :cop:

MIT

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onepager-0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onepager-0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file onepager-0.1.tar.gz.

File metadata

  • Download URL: onepager-0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.10.0 readme-renderer/44.0 requests-toolbelt/1.0.0 requests/2.25.1 rfc3986/2.0.0 tqdm/4.66.1 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for onepager-0.1.tar.gz
Algorithm Hash digest
SHA256 f134a1a7ea3a17026ad90ee7e5f337991019a521f3b8cbce2de6c1dfb8a5ec3b
MD5 b3ca17cd262e4e81e7fc245b6eb5dbfd
BLAKE2b-256 a3808c817bf34debff7b9a9a26bf95c9b3f4ef10ff4a53f60dcfc8a171bd93eb

See more details on using hashes here.

File details

Details for the file onepager-0.1-py3-none-any.whl.

File metadata

  • Download URL: onepager-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.10.0 readme-renderer/44.0 requests-toolbelt/1.0.0 requests/2.25.1 rfc3986/2.0.0 tqdm/4.66.1 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for onepager-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5212cd24ef6b0f2b4e48286e5d663693281d66f925c0392047821bb72d4783af
MD5 c7398daf6da4da9cee6a465b5e2dbf2b
BLAKE2b-256 783c001dfc89fce81eacaa61fdaac1647e1926de47a5d5629cf35c6b3e93dda5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page