Skip to content

Latest commit

 

History

History
101 lines (89 loc) · 4.02 KB

Todo.md

File metadata and controls

101 lines (89 loc) · 4.02 KB

Todo

Review

  • Separate config annotation to it's own library/package/module tcfg

  • Rename and rebrand TEDDecor simll (Simple Inline Markup Language and Logging)

    • Only markup, logging, and pprint
  • General

    • Add custom errors
  • Tooling

    • presets
    • integrations
      • Tailwind
      • Sass
      • Fontawesome
        • Javascript & Webfont variants
      • Math
      • read time??

Complete

  • Simplify list sorting and filtering

  • Fix : not being captured in attribute value

  • Fix lambda's not having built-ins in globals

  • Fix needing to make things global to expose them to functions

  • Expose kwargs to python blocks as they are being processed

  • Global config using decorators

  • Tool for Pygments themes x] global variable for creating url with website root inserted to beginning.

  • Automatically rip head element from pages, layouts, and components and append there children to root templates head

  • Route all files as any file name -> index.html or have special file names that stay as is in their current directory

  • Generate page title from file name

    • tokanize_name from phml
    • Title case the title
  • Get page by path

  • Generate site nav

    • Full nav tree
    • Each page's next and previous
  • Generate TOC from markdown file

  • favicon through config and head link tag

  • when copying elements from page head to base head, don't duplicate tags, and replace meta/title tags

  • Dirty/Non dirty file saving

  • Markdown styling

    • Command for generating colored code highlights
    • Add css link for code highlights
  • Auto add website root to href's starting with /. Only if they don't already start with the root.

  • Custom relative path plugin for markdown

  • Command to make new project

  • Any layout page change == build_hierarchy + render linked pages

  • New component == None

  • Remove Component == render all linked pages after component is removed

  • Update component == render all linked pages

  • page change == render page

  • static file change == re-write static file

  • Live Reload Server

    • All pages are referenced in dict for key(full_path) lookup
    • Each file gets an epoch
      • Epoch is referenced in /livereload/{epoch}/{path}/{to}/{src}/{file}
      • src file epoch is checked with passed epoch. If a newer epoch exists, refresh the page.
    • Page and Component linking on render
    • Pages have all layout ancestors linked
    • Update/Render individual Component/Page/Layout
      • Adding and removing pages/layout from path == Full Reload
      • Adding and removing component files adds to compiler but updates nothing
      • Edit a page/component/layout and only have individual items that are linked Update
        • layout edit means page updates
        • page edit only gets page update
        • component update = page update
    • Trigger file updates on watchdog events
      • update
      • add
      • remove
  • Sitemap

  • RSS

Backlog

  • Dynamic routes
    • dynamic route generation through python element
    • Generates from content/ directory
    • ...dir recursive catch all
    • dir catch all
    • slug file used for desired output else relevant layout.phml will be used.
    • page.phml and layout.phml will be given data about all the pages found for the catch all
    • Add or remove of page == full site reload
    • Edit a file
      • root page gets updated
      • updated page gets updated

Inspirational Sources: