Well, once you throw 4000 odd keywords, and match with or without () then efficiency is an issue.
Either way that was not the point - I figure we can turn code linking on for all pages - any reason not to? And it would default to c unless the header said otherwise... Andy On Tue, 31 Oct 2017 at 08:37 Carsten Haitzler <ras...@rasterman.com> wrote: > On Tue, 31 Oct 2017 08:26:20 +0000 Andrew Williams <a...@andywilliams.me> > said: > > > That's great thanks, it seems to be working well. > > > > Now that it's much more efficient I could change the default language to > c > > - so that any page that does not state otherwise will receive this > markup. > > Seems like a good thing to me - what do you think? > > well originally i didn't see an efficiency issue mostly because dokuwiki > caches > so first person to read an updated page may wait a little bit (what- a > second? > 2 seconds?) ... but after that its cached and flattened out. > > > Andy > > > > On Tue, 31 Oct 2017 at 07:36 Carsten Haitzler <ras...@rasterman.com> > wrote: > > > > > On Mon, 30 Oct 2017 16:47:08 +0000 Andrew Williams < > a...@andywilliams.me> > > > said: > > > > > > done :) > > > > > > > Hi, > > > > > > > > I have now fixed the codelink plugin so it does not blow the limit > for > > > the > > > > length of a regex compilation. Can you please try putting this > > > > configuration back in again? > > > > > > > > $conf['code_extn'] = 'develop/api/ref'; > > > > > > > > Thanks, > > > > Andy > > > > > > > > On Thu, 26 Oct 2017 at 02:57 Carsten Haitzler <ras...@rasterman.com> > > > wrote: > > > > > > > > > On Thu, 26 Oct 2017 08:54:26 +0900 Carsten Haitzler < > > > ras...@rasterman.com> > > > > > said: > > > > > > > > > > > On Wed, 25 Oct 2017 17:09:06 +0000 Andrew Williams < > > > a...@andywilliams.me > > > > > > > > > > > > said: > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > Today I was looking at the autogenerated EO docs... They seem > to be > > > > > quite C > > > > > > > specific - but they start with some great generic content. They > > > also > > > > > have > > > > > > > some clever autolink reference generation specific to c. So I > got > > > to > > > > > > > > > > > > originally the plan was to ensure things not covered by eo like > eina > > > > > properly > > > > > > got linked in just when putting the symbol anywhere in a doc > > > anywhere on > > > > > the > > > > > > wiki. the doc generator could generate links for things is knew > > > about (eo > > > > > > methods/classes etc.). :) > > > > > > > > > > > > > thinking if we want to generate the API in multiple languages > this > > > > > script > > > > > > > would be the best place to do it. And so therefore I have > landed on > > > > > > > mounting these docs in /develop/api so language specifics > (such as > > > > > ref/c) > > > > > > > can be handled within that space. > > > > > > > > > > > > indeed it was meant for multiple languages too. starting with c > and > > > > > well... > > > > > > we'll go from there. :) > > > > > > > > > > > > > As an outcome can raster or beber, or someone with local > access to > > > the > > > > > wiki > > > > > > > VM please change a line of the local.conf? > > > > > > > > > > > > > > $conf['code_extn'] = 'develop/api/ref'; > > > > > > > > > > > > done. :) > > > > > > > > > > undone .. setting that makes all the pages stop marking down -> > html > > > and > > > > > you > > > > > get raw markdown text... hrrrrm... > > > > > > > > > > > > Thanks :) > > > > > > > Andrew > > > > > > > -- > > > > > > > http://andywilliams.me > > > > > > > http://ajwillia.ms > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Check out the vibrant tech community on one of the world's most > > > > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > > > > _______________________________________________ > > > > > > > enlightenment-devel mailing list > > > > > > > enlightenment-devel@lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > ------------- Codito, ergo sum - "I code, therefore I am" > > > -------------- > > > > > > Carsten Haitzler - ras...@rasterman.com > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Check out the vibrant tech community on one of the world's most > > > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > > > _______________________________________________ > > > > > > enlightenment-devel mailing list > > > > > > enlightenment-devel@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > > > > > > > > > > > > -- > > > > > ------------- Codito, ergo sum - "I code, therefore I am" > > > -------------- > > > > > Carsten Haitzler - ras...@rasterman.com > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Check out the vibrant tech community on one of the world's most > > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > > _______________________________________________ > > > > > enlightenment-devel mailing list > > > > > enlightenment-devel@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > -- > > > > http://andywilliams.me > > > > http://ajwillia.ms > > > > > > > > ------------------------------------------------------------------------------ > > > > Check out the vibrant tech community on one of the world's most > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > > > > enlightenment-devel mailing list > > > > enlightenment-devel@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > > > > -- > > > ------------- Codito, ergo sum - "I code, therefore I am" > -------------- > > > Carsten Haitzler - ras...@rasterman.com > > > > > > -- > > http://andywilliams.me > > http://ajwillia.ms > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > Carsten Haitzler - ras...@rasterman.com > > -- http://andywilliams.me http://ajwillia.ms ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel