summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Harishankar [Sat, 23 May 2020 14:50:04 +0000 (20:20 +0530)]
Refactored DocListItem to take Document in constructor
Refactored DocListItem class to take Document in the
constructor instead of individual fields. Also fixed
minor issue in link in feed.xml link in DocumentTree
generation.
Harishankar [Fri, 22 May 2020 16:18:55 +0000 (21:48 +0530)]
Check added for symlink - to avoid symlinks in the source path
Added check to prevent symlink from being followed in the
document tree generation to avoid complications. Also minor
change to rss item template
Harishankar [Fri, 22 May 2020 15:31:28 +0000 (21:01 +0530)]
Minor change - fixed program args string
Fixed the program args string to include the -q option
which was missed out earlier
Harishankar [Fri, 22 May 2020 14:05:29 +0000 (19:35 +0530)]
Made site template mobile friendly and added title to RSS feed
Added the category/page title to the RSS feed and also made the
site mobile template mobile friendly with CSS media queries and
meta viewport
Harishankar [Fri, 22 May 2020 11:37:12 +0000 (17:07 +0530)]
Added RSS feed to each category
Added RSS feed to each category in the document tree
Harishankar [Fri, 22 May 2020 09:32:09 +0000 (15:02 +0530)]
Program now takes options instead of hardcoded inputs
Used getopt() to take command line option for the source,
destination path and also template directory from the end user
Harishankar [Fri, 22 May 2020 06:37:30 +0000 (12:07 +0530)]
Replaced cmake with scons
Replaced cmake build with scons
Harishankar [Thu, 21 May 2020 16:09:25 +0000 (21:39 +0530)]
Minor change to CMakeLists.txt
Minor changes to CMakeLists.txt
Harishankar [Thu, 21 May 2020 15:07:30 +0000 (20:37 +0530)]
Added some template changes - Document List now shows description
The document list now shows the brief description below the link
in the generate HTML
Harishankar [Thu, 21 May 2020 09:39:03 +0000 (15:09 +0530)]
Refactored template loading to its own class for performance
Refactored template string loading to its own class to avoid
reading the template directory for every call to to_html() or
output_to_html ()
Harishankar [Thu, 21 May 2020 07:05:24 +0000 (12:35 +0530)]
Separated the strings used for document tree generation from code
Separated the string bits used for document tree generation from
constant in-code strings to a separate template file
stringbits.txt. This will allow for customizability of common
strings.
Harishankar [Wed, 20 May 2020 15:56:31 +0000 (21:26 +0530)]
Added Navigation bit to the top of documents for the categories
Added navigation bit for easier navigation to parent categories
from any page
Harishankar [Wed, 20 May 2020 09:16:02 +0000 (14:46 +0530)]
Included functionality to describe the document in the input file
All input files (except index) require to be of the format
Title
Description
keywords
date of creation (YYYY-MM-DD HH:II Z) format
Harishankar [Tue, 19 May 2020 14:47:38 +0000 (20:17 +0530)]
Changed the rendering code for templating output
Changed from the C sprintf to using library libfmt::format in C++
to use named parameters in the template. NOTE: This means the
template file cannot contain any { or } other than the template
variables otherwise it screws up. So moved the CSS stylesheet to its
own template
Harishankar [Tue, 19 May 2020 07:07:57 +0000 (12:37 +0530)]
Functionality for generating website completed
TODO: add command line option for the tool instead of hard-coded
strings
TODO: add RSS feed XML template and classes to generate the RSS
feed for the site
Harishankar [Mon, 18 May 2020 10:54:08 +0000 (16:24 +0530)]
Tree Website generation implemented
Completed the functionality to generate the HTML tree from a
source tree, using templates. TODO: further refinement of
generated HTML code
Harishankar [Sat, 16 May 2020 15:53:22 +0000 (21:23 +0530)]
Added summary to the document tree index
Added summary field for the document tree index which will add
a summary content for the index before the list of documents
Harishankar [Sat, 16 May 2020 15:15:00 +0000 (20:45 +0530)]
Document tree generation to HTML output completed
Completed the document tree generation - now the tree is created
along with all children and also the documents in the tree
Harishankar [Sat, 16 May 2020 09:29:13 +0000 (14:59 +0530)]
Cleaned up the generation of document tree index
Cleaned up the generation of document tree by including a
destination dir and separating URL path from destination dir
Harishankar [Fri, 15 May 2020 17:00:57 +0000 (22:30 +0530)]
First Commit
First commit of BiaWeb2 project