I had to change computers recently, and also had to upgrade which version of webgen I have to use. In the .4 version, I was able to determine which h1, h2, and h3 headers appeared in the page menu. In the .5 version, the markup mechanism has changed, and h1 headers appear in the page menu but not the others. I am using the andreas09 style. I''ve searched through the available documentation, but I haven''t found any obvious clue about how to make this change. I was able to figure out how to change the meta information (but that took a lot of searching). Maybe I missed a transition guide somewhere. Once I can rebuild the page menu the way I need to, I can fully transition to webgen .5 (apparently just in time to have to switch to 1.0). Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/webgen-users/attachments/20130505/df9f6ab6/attachment.html>
OK. I think I found it. I was looking at the config.yaml file, which contained this: # The available configuration options can be found on the homepage in the Configuration Option # Reference at # # http://webgen.rubyforge.org/documentation/reference_configuration.html I had not found an obvious use for before. Eventually it started to make a bit more sense. Now I have updated the config.yaml and gotten the result I wanted. On Sunday, May 5, 2013 7:47:28 PM UTC-5, David Cargo wrote:> > I had to change computers recently, and also had to upgrade which version > of webgen I have to use. > > In the .4 version, I was able to determine which h1, h2, and h3 headers > appeared in the page menu. > > In the .5 version, the markup mechanism has changed, and h1 headers appear > in the page menu but not the others. > > I am using the andreas09 style. > > I''ve searched through the available documentation, but I haven''t found any > obvious clue about how to make this change. > > I was able to figure out how to change the meta information (but that took > a lot of searching). > > Maybe I missed a transition guide somewhere. > > Once I can rebuild the page menu the way I need to, I can fully transition > to webgen .5 (apparently just in time to have to switch to 1.0). > > Thanks. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/webgen-users/attachments/20130506/03f1d8c7/attachment-0001.html>
Thomas Leitner
2013-May-06 17:26 UTC
[webgen-users] Page menu differences between .4 and .5
On 2013-05-05 17:47 -0700 David Cargo wrote:> In the .5 version, the markup mechanism has changed, and h1 headers > appear in the page menu but not the others. > > I am using the andreas09 style. > > I''ve searched through the available documentation, but I haven''t > found any obvious clue about how to make this change.See http://webgen.rubyforge.org/documentation/contentprocessor/fragments.html for more information on which headers are used (they need to have an ID, otherwise they are not used).> I was able to figure out how to change the meta information (but that > took a lot of searching). > > Maybe I missed a transition guide somewhere.There is an upgrade guide at http://webgen.rubyforge.org/documentation/upgrading.html> Once I can rebuild the page menu the way I need to, I can fully > transition to webgen .5 (apparently just in time to have to switch to > 1.0).The 1.0 version is rather stable now (though it is still a beta version) and I already use it on my personal pages. However, I''m not quite finished with updating the documentation. Best, Thomas