Code Monkey home page Code Monkey logo

bootdoc's People

Contributors

dav1dde avatar denis-sh avatar jakobovrum avatar qaston avatar repeatedly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bootdoc's Issues

Generation script: Exit codes

The generation script should probably return an exit code of 2 when no action is performed (i.e. the help is displayed).

How about adding #!/usr/bin/env rdmd to generate.d

I think is useful

 #!/usr/bin/env rdmd

to generate.d and giving it executable right.
Then

$ ./bootDoc/generate.d

will work.
Maybe even better add a file named bootdoc.d. If I add the folder to my PATH I can to ./bootdoc.d.

What do you think?

Clarification on using with submodules

I fail to understand how bootDoc works together with a gh-pages branch. Assuming bootDoc is a submodule in that branch. Then generating rdmd bootDoc/generate.d ../src won't work as the src/ is only in the master branch.
I tried to verify how it is supposed to work using https://github.com/JakobOvrum/LuaD/ like this:

$ git clone https://github.com/JakobOvrum/LuaD.git
$ git checkout gh-pages
$ rdmd bootDoc/generate.d .. --extra=index.d

The last gives me:
Error: cannot read file ../luad/all.d
Error: cannot read file ../luad/state.d
Error: cannot read file ../luad/base.d
...

Dead links on the front (readme) page

Many links point to sites that do not exist. This may detract potential users that might come to conclusion that bootDoc is not maintained and is outdated.

In particular cuteDoc and bootstrap links are dead.

Sort out which macros borrowed from Phobos are standard

It seems like most of them should be moved to the Phobos demo repository's settings.ddoc as they are project-specific, but some of them are universally useful.

These are my suggestions: RPAREN, LPAREN, LESS, GREATER, D and BIGOH.

It would also be nice to have standard symbol referencing and cross-module referencing macros, but I'm not sure what the optimal implementation of them is.

The BUGZILLA macro is also interesting, and I think it'd be cool to have a standard macro named BUGTRACKER or something where the URL is configured in settings.ddoc.

Add Phobos example

Not sure where to put it, but I think Phobos docs are mandatory for DDoc themes these days.

Markdown export?

@JakobOvrum, I haven't used bootDoc yet, but I am quite impressed with the phobos demo. I was wondering if it is possible to generate markdown instead of pure html? Like one .md file per module that lists everything. This will be great for smaller code bases that don't need a whole website(or gh-pages branch) and can just place a README.md file in the module's folder.

Also does bootDoc use DDoc or is it completely separate from DDoc?

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.