On Thu, May 14, 2015 at 3:48 PM, Martin Blais <[email protected]> wrote:
> On Wed, May 13, 2015 at 6:40 PM, Simon Michael <[email protected]> wrote: > >> On 5/9/15 2:40 PM, Martin Blais wrote: >> > Did you guys see the cookbook? >> > http://furius.ca/beancount/doc/cookbook >> > >> > Or the Getting Started guide? >> > http://furius.ca/beancount/doc/getting-started >> >> Indeed, those are great. But hard to discover. I had forgotten/not seen >> the cookbook. >> >> I'm linking at hledger.org/more-docs now, and maybe someone will link >> them to the Ledger site or wiki. >> >> It's good that they have stable human-friendly urls as well as the >> cryptic google ones. I think it would encourage linkers if those were >> more prominent; currently I'm not sure how to find them out. >> > > All the Beancount documentation can be found its top index page, here: > http://furius.ca/beancount/doc/index > > It's a flat index of all the docs I've published on the topic. I do want > to figure out a better solution for short links to Google documents - > probably with a custom URL shortener on a domain - but at the moment I'm > using simple redirects from furius.ca. If you really want to know how > it's implemented, the redirects are defined here: > https://bitbucket.org/blais/beancount/src/tip/.htaccess?at=default > Note that this list includes links to not-yet-published docs. > > What I really want is a custom URL shortener like what Google Apps Labs > Short Links was, but one that doesn't rewrite the URL, maybe serves it in > an IFRAME or something. > So just for fun, to address your comment I've implemented a little <iframe> wrapper around my docs, it looks like this, e.g. some links: http://furius.ca/beancount/doc/test/index http://furius.ca/beancount/doc/test/motivation http://furius.ca/beancount/doc/test/syntax http://furius.ca/beancount/doc/test/install ... It address a problem I've been wanting to deal with for a while: I want the documents to open in viewing mode by default, yet allow the possibility for the user to enter edit mode to add comments. I open the wrapped doc in "Preview" mode, which is faster and read-only, but I've put a little header which you can click on to open the doc in "Edit" mode where you can add comments. It also keeps the URL in the URL bar, like you ask. Do you like this better? (I'm considering changing all the links to use that, not sure yet.) -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
