summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/map.pm
AgeCommit message (Collapse)Author
2009-10-05fix add_depends to new apiJoey Hess
2009-10-04map: Use a contentless dependency unless show= is specified.Joey Hess
This makes simple maps efficient enough that they can be used on sidebars!
2009-08-25Revert "Allow add_depends to take an arrayref"Joey Hess
This reverts commit e4cd168ebedd95585290c97ff42234344bfed46c. There was no benefit to this change.
2009-08-25Allow add_depends to take an arrayrefSimon McVittie
2009-08-24calendar, inline, map: don't pre-join dependenciesSimon McVittie
The new dependency handling works better (eliminates more duplicates) if dependencies are split up. On the same wiki mentioned in the previous commit, this saves about a second (i.e. 4%) on the same test.
2009-07-25Fix failure to close <ul> in maps with no itemsharishcm
Signed-off-by: Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
2009-04-23pagespec_match_list added and used in most appropriate placesJoey Hess
* pagespec_match_list: New API function, matches pages in a list and throws an error if the pagespec is bad. * inline, brokenlinks, calendar, linkmap, map, orphans, pagecount, pagestate, postsparkline: Display a handy error message if the pagespec is erronious.
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-08-23map: The fix for #449285 was buggy and broke display of parents in certian ↵Joey Hess
circumstances. The use of $dummy was not sufficient, because it only stuck around for the first element after a dummy parent, and was then lost. Instead, use a $addparent that contains the actual dummy parent, so it can be compared with the new item to see if we're still under that parent or have moved to another one.
2008-08-23fix my broken fixJoey Hess
2008-08-23fix off-by-one, and fix linkJoey Hess
The link was broken if the inserted dir was not under the destpage
2008-08-23fix links to inserted parent pagesJoey Hess
The parent page names had "/" prepended, which caused broken links.
2008-08-03add plugin safe/rebuild info (part 1 of 2)Joey Hess
too many plugins.. brain exploding..
2008-06-15bugfixes for show=titleJoey Hess
Can't sort by titles; the tree building logic requires that the list be sorted by page name. Setting linktext => $page is not the same as omitting it entirely. So some contortions to only set linktext when the page name is not being shown.
2008-06-15check that parent hash exists, to avoid creating itJoey Hess
2008-06-15note about titles and dependenciesJoey Hess
2008-06-15map: Add a "show" parameter. "show=title" can be used to display page ↵Joey Hess
titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes: #484510
2007-12-28* map: Fix handling of common prefix to handle the case where it'sJoey Hess
in a subdirectory. Patch by Larry Clapp.
2007-12-16* meta: Drop support for "meta link", since supporting this for internalJoey Hess
* map: Don't inline images.
2007-11-07* map: Recent changes caused unnecessary ul's to be inserted for itemsJoey Hess
that were all at the same level, fix. Closes: #449285
2007-09-22$common_prefix may never get definedjoey
2007-09-22fix htmljoey
2007-09-22* map: Render pages on the way to subpages whose parent pagesjoey
are not included in the map. Include special styling for such pages. * map: Remove common prefixes and don't over-indent. * Add class option to htmllink().
2007-09-21* map: Render empty nodes on the way to subpages whose parent pagesjoey
are not included in the map. * map: Fix valid html issue.
2007-09-20* tag: Add taglink preprocessor directive, supporting visible tag links.joey
* map: Fully specify paths to links to avoid issues when the bestlink didn't point to the correct page.
2007-07-25* Make the map plugin notice when pages in the map are deleted and updatejoey
it.
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
2007-02-20* Changed calling convention for httmllink slightly. The first threejoey
parameters remain the same, but additional options are now passed in using named parameters. * Change plugin interface version to 1.02 to reflect this change. * Add a new anchor option to htmllink. Thanks Ben for the idea. * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs.
2007-02-06* Patch based on a patch from Ethan to support relative matching injoey
PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-09-07typojoey
2006-08-19* Add first draft at a Restructured Text (rst) plugin, by Sergiojoey
Talens-Oliag. Note that this has many known issues -- see the caveats on the plugin's page. * Credit everyone who wrote a plugin on the plugins' wiki pages.
2006-08-18generate valid xhtml in all cases, including nestingjoey
2006-08-18remove maxdepth, it can be accomplished by pagespec like ".. and !*/*/*/*"joey
2006-08-18* Add a map plugin contributed by Alessandro Dotti Contra.joey