Code Monkey home page Code Monkey logo

made-up's People

Contributors

maccoda avatar

Watchers

 avatar  avatar

made-up's Issues

Cascade the stylesheets

At the moment the configuration only allows a single styelsheet but they are called cascading style sheets so really should allow for multiple.

Nested Lists

The HTML generated incorrectly generates nested lists, it does not append the closing li tag in the correct place as shown:

<li>Point two
    <ul>
        <li>Indent point one</li>
    </ul>
</li>

Title of page

The title of the rendered pages are all the same. That is pretty boring!
Make the title append the name of the file perhaps to make it more useful.

Ordering of contents in generated index

The ordering of the table of contents in the generated index file is inconsistent, particularly across OS. This is causing the tests to fail as per PR #2. Need to either make the tests more robust as this is not really a failing issue or add in functionality to ensure that the files are always obtained in the same order.

Generated index is overwritten

If the configuration has gen_index set to true it will generate the index correctly but no check is done to ensure it won't be overwritten by generated content. That is, no check is done to see if an index.md exists. It should fail if this is the case as the user has likely incorrectly configured the tool.

Change elements provided to index template

Current the elements provided to the handlebars index template are the file names. This makes for an unattriactive index page. Instead these should be returning the main heading for that page which is guaranteed to be more human readable.

Use temporary directories

When trying to move to the Trust CI template it was made apparent the flaw in the design in that the library would perform the writing to the file, this meant that the integration test would be writing within the source code. Instead this should be changed so that during the integration testing it can create a temporary directory to write the output to.

When doing this will also mean that the ci feature can be removed as all testing should be able to be done.

Inline HTML

This tag type is unhandled and is causing issues with the output produced moreso when not actually using HTML tags but referencing names. Essentially this should just be printing directly to the output as the inline HTML should be unchanged and when it isn't actually HTML then it needs to be ensured that it is printed correctly.

Page Hierarchy

Particularly for the index page but in general need to have a way to reflect the directory structure in the page hierarchy. One idea is to recursively generate index pages for each sub-directory, another is to look into a better template that has a navigation panel with a section for each directory.

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.