Coder Social home page Coder Social logo

t00m / kb4it Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 11.71 MB

KB4IT is a static website generator based on Asciidoctor sources mainly for technical documentation purposes.

Home Page: https://github.com/t00m/kb4it-adocs

License: GNU General Public License v3.0

Shell 0.20% Python 10.34% Smarty 4.16% CSS 58.63% HTML 0.02% JavaScript 26.66%
asciidoctor documentation html knowledge-base markdown markdown-to-html metadata publishing-sharing python python3 repository static static-site static-site-generator technical template uikit website wiki writing

kb4it's People

Contributors

t00m avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

kb4it's Issues

Auto detect theme

It might be convenient to auto detect theme from a given source directory.

Finish Techdoc theme

Finish implementing all features for this theme

  • Events
  • Messages
  • Filtered key pages

OSError: [Errno 36] File name too long

After converting a json database of movies to KB4IT format and during the processing, I got the following error:

OSError: [Errno 36] File name too long: '/home/t00m/.kb4it/var/tmp/...

Pagination

Enable pagination in order to display a large amount of values. Otherwise, it takes ages to display all doc cards at one.
Disable filters for key pages.

Bookmarks

KB4IT should have a section or page for those document with the following property:

:Bookmark: True

Images path wrong

Images load on local but not in remote.
The images path should be relative. Now their path is absolute.

Themes

Allow KB4IT to use themes (user templates and scripts) to represent the information.

Eg.:

  • Technical documentation
  • Dictionaries
  • Notes
  • Bookmarking
  • Blog
  • Tasks

Card icons missing

Until now, icons in cards depends on the availability of a value for the property 'Author'.

In future developments, KB4IT shouldn't have core properties.

Therefore, as proposal, KB4IT will look for an icon

  • if an icon is present for the author property
  • if not, it will look for an icon with the same name that the document in the resources/images/ directory
  • finally, if none is found, it will use the default generic icon.

UI should be managed by themes

Till now, UIKit is included by default as the front-end framework for developing the web interface.
KB4IT shouldn't care about the framework used. Themes should provide it.

Agnostic Knowledge Base

How to improve KB4IT so it doesn't depend on core properties (a predefined set of properties)?
Or should KB4IT look for a very small set of properties (like Author, Category, Scope)?

Create a demo

Create a demo site:

  • Add more tests and sources
  • Rename tests directory to demo-sources
  • Create target directory demo-output

RSS Feeds

Allow users to keep track of new/modified documents in KB4IT:

  1. One main feed for all documents in KB4IT
  2. A feed for each property

More command line options

Allow users to pass more command line options.

For example:

  • Force a new and clean compilation
  • Create a site only for a list of specific keys/values
  • etc...

Blogging

By identifying a document with the property:

Category: Blog

KB4IT should handle it as a blog post.

Remove sources from an already cached directory leave some pages with inconsistencies

Detected a wrong behavior when sources files are moved/deleted from an (already cached) directory.

Affected property pages should be compiled again.

Workaround: delete cache directory.

Cache directory can be found by checking DEBUG output during the compilation.

Fix 1: redesign the algorithm to detect changes
Fix 2: add an optional parameter to force a new and clean compilation.

Improve templating

Current templating system is very basic (simple substitution).
By using mako template system, it is easier to create templates.

This adds the first dependency to the project. It was necessary.

Improve doc cards

Doc cards should display more info apart from title and author icon.

Display following metadata:
(=) Author
(=) Title
(+) Timestamp
(+) Category
(+) Scope
(?) Priority (badge)
(?) Status (change backround color)

Templates

Create a set of standard templates (modifiable by users) with a set of predefined properties and values. This would make easy to add issues / tickets / reports / blog posts / etc...

Improve compilation algorithm

Currently, because of a bug, the compilation algorithm compile again several documents even if it is not necessary.
Fix it!

Theme techdoc

Create theme 'techdoc' (Technical documentation) with its own logic.

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.