Code Monkey home page Code Monkey logo

documentr's People

Contributors

blizzy78 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

documentr's Issues

Can't get all tests passing on current trunk

Environment: jdk1.6.0_38


Test set: de.blizzy.documentr.page.TestPageUtil

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE!
initializationError(de.blizzy.documentr.page.TestPageUtil) Time elapsed: 0 sec <<< ERROR!
java.lang.Exception: Test class should have exactly one public constructor
at org.junit.runners.BlockJUnit4ClassRunner.validateOnlyOneConstructor(BlockJUnit4ClassRunner.java:131)
[skipped]

initializationError(de.blizzy.documentr.page.TestPageUtil) Time elapsed: 0 sec <<< ERROR!
java.lang.Exception: No runnable methods
at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:166)
[skipped]


Test set: de.blizzy.documentr.TestUtil

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE!
initializationError(de.blizzy.documentr.TestUtil) Time elapsed: 0.002 sec <<< ERROR!
java.lang.Exception: Test class should have exactly one public constructor
at org.junit.runners.BlockJUnit4ClassRunner.validateOnlyOneConstructor(BlockJUnit4ClassRunner.java:131)
[skipped]

initializationError(de.blizzy.documentr.TestUtil) Time elapsed: 0 sec <<< ERROR!
java.lang.Exception: No runnable methods
at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:166)
[skipped]

Add Sort Capabilities visible from {{neighbors}}

Hi, I introduced documentr inside a big company dev team that has documentation needs and documentr fits very well. The only things a little annoying is the fact that we can not reorder pages.

As each page have metadata you can just put an "order" fields which can be a numeric.
Then the PageRepository instead of returns subpages in default order can reorder them according the following priority

  1. the order numeric field in each metadata
  2. then alphabetically. This way if all pages have 0 as order fields they will be ordered alphabetically.

I see 2 ways this can be done, in term of UI

  1. add a simple spinner to increase/decrease the sort order when editing the page.
  2. in the {{neighbors}} macro add up and down arrow to reorder dynamically

Tell me what do you think.

PS : if this can be included in the next release, it can be a great thing ^^

Add a Full expanded mode for macro {{neighbors/}}

The actual behaviour of the macro {{neighbors/}} is to limit the visibility of non sibling pages.

Can you add an option to possibly to always have the whole tree completly expanded ?

This way readers have the whole plan.

Thanks

search by other language

Can I search by Japanese Language how?
I tried search by Japanese, result text is garbage characters.
ex.) こんにちは -> ã��ã��ã�«ã�¡ã�¯

remove first directory level

Hi,

I read a short note about documentr in a recent issue of the german Linux Magazin. I've not yet tried it, but I observed that you have on top level directory "de.blizzy.documentr" before the real content starts.

This would cause problems in case somebody would like to package your project for Debian. Most other java projects I've seen so far have the pom.xml and src/ in the top level directory. All the packaging tooling in Debian expects this layout and it'd be hard to change this.

Regards, Thomas Koch

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.