> Personally, I've been trying to make myself useful in those few areas such
> as these where I can, but have to admit feeling a bit frustrated when even
> obvious and tiny corrections need to be logged to the bug tracker
The barrier to contributing to the docs. is knowing how to use bzr to
push to the trunk, which means setting up a ssh key for your launchpad
account. If you can do that you can edit the docs. in
Leo .../leo/doc/LeoDocs.leo and commit and push the changes yourself.
Once your launchpad account is a member of the leo-editor-team, of
course, but that's easy.
Cheers -Terry
> The barrier to contributing to the docs. is knowing how to use bzr to
> push to the trunk, which means setting up a ssh key for your launchpad
> account. If you can do that you can edit the docs. in
> Leo .../leo/doc/LeoDocs.leo and commit and push the changes yourself.
For me, installing bazaar, learning some basics, and setting up an
launchpad ssh key was easyish, but not easy. I think if I hadn't
already had a year or so of using tortoise-svn and prior experience
with ssh under my belt it would have been difficult. So yes, I'd still
call this a barrier.
I agree that the existing wiki might be better turned off, saving a
number of pages which are still germane for placement elsewhere. I'm
not sure that using a newer shinier wiki platform in it's stead would
get at what I see as the deeper cause: the user contributed docs being
in a separate world from where the developers live.
It doesn't operate this way now, but at one time effbot.org would
accept edits from anybody, but not publish the edits until they'd been
accepted. On submission of an edit the web host would generate a
unified diff file and fire it off it to the maintainer (Fredrick
Lundh). If Fredrick liked the edit he'd patch and save, and that would
be the new web page. I always thought this a very elegant solution and
wished it showed up in the tools I've used for my websites.
How difficult would it be to have DokuWiki (or MoinMoin or ...) push
edits to a leo-editor-website bzr banch that has standing merge to
trunk request? And how much work would it be for members of leo-editor
team (or leo-website team) to accept/reject these pushes?
--
-matt
> How difficult would it be to have DokuWiki (or MoinMoin or ...) push
> edits to a leo-editor-website bzr banch that has standing merge to
> trunk request? And how much work would it be for members of leo-editor
> team (or leo-website team) to accept/reject these pushes?
Another not necessarily better but different option would be to keep
all the docs. in Leo/rst and use the bzr Python bindings to have Leo
push changes to some place for merging. I.e. automate the bzr part
of the process. Not exactly sure how complicated that would be to set
up / use, but it would keep the docs. in the Leo rst system, which seems
desirable to me.
Cheers -Terry
> Another not necessarily better but different option would be to keep
> all the docs. in Leo/rst and use the bzr Python bindings to have Leo
> push changes to some place for merging. I.e. automate the bzr part
> of the process. Not exactly sure how complicated that would be to set
> up / use, but it would keep the docs. in the Leo rst system, which seems
> desirable to me.
I've played around with bzr hooks from time to time. It's easy enough to do.
The problem, as I see it, is that everybody would have to install the
hooks. Hmm, a new thought: the easy way would be to create a Leo bzr
plugin. Of course, even that is an extra step, and a significant
one.
Edward
I'm not sure that using a newer shinier wiki platform in it's stead would get at what I see as the deeper cause: the user contributed docs being in a separate world from where the developers live.
> 2. They get served up, directly and as-is, by DokuWiki - plaintext files
> **are** its native datastore. In effect the @files are available on the web
> for you, me and Joe Blow to edit - subject of course to whatever
> open/secure balance the developers desire.
My thought was that if Leo is a premier platform for editing rst, as we
like to believe it is, it should work as an environment for editing
documentation for Leo, by anyone. One requirement would be to avoid
forcing the user to set up bzr / ssh / launchpad. That part could
probably be handled by Leo itself.
I like DokuWiki well enough, used it once long ago, but I think we need
to think hard before tying ourselves to having things running on
platform XYZ. If we revamp Leo's hosting say by moving from LP to
bitbucket, there'd be a strong argument for accepting bitbucket's wiki
system, whatever it is.
Right now I don't think we have developer time for any major changes,
unless we add more developers... :-)
I understand you're trying to avoid using developer time here,
and I suppose in theory the DokuWiki stuff could be completely separate
from the Leo distribution process and require no developer input beyond
responding to requests to check new content. But Leo already has way
too many homes on the web, so we need plan carefully before adding more.
Cheers -Terry
Terry said:
> My thought was that if Leo is a premier platform for editing rst, as we
> like to believe it is, it should work as an environment for editing
> documentation for Leo, by anyone.
One point putting some weight towards wikidom is that things like
typo's etc are best fixed in situ, where the itch and the urge to
correct are matched in time and space. Myself, I tend to use web pages
for reading docs. I like the rich text, easy up/down of font size with
ctrl-+/-, multiple tabs, and so on. I find reading and navigating
Leo's docs inside Leo more cumbersome (maybe I just haven't tried hard
enough).
Idea: I'm reading
http://webpages.charter.net/edreamleo/installing.html#installing-leo-on-windows,
see something to fix or add to, and click the [edit] link in the
sidebar. The browser calls Leo, which opens that file and outline
location. I make my changes, save, and push "email to launchpad"
button.
The edit link url might look like:
leo://$leo-root$/LeoDocs.leo/Users_Guide/Installing_Leo/@file_installing.txt/Installing_Leo_itself/Installing_Leo_on_Windows
--
-matt
> I find reading and navigating
> Leo's docs inside Leo more cumbersome (maybe I just haven't tried hard
> enough).
I agree they're nicer to read in a browser.
> Idea: I'm reading
> http://webpages.charter.net/edreamleo/installing.html#installing-leo-on-windows,
> see something to fix or add to, and click the [edit] link in the
> sidebar. The browser calls Leo, which opens that file and outline
> location. I make my changes, save, and push "email to launchpad"
> button.
>
> The edit link url might look like:
>
> leo://$leo-root$/LeoDocs.leo/Users_Guide/Installing_Leo/@file_installing.txt/Installing_Leo_itself/Installing_Leo_on_Windows
Very clever idea. I think the URL would need to be something like
http://webpages.charter.net/edreamleo/link/lnk2156.lnk. The content of
the file would be something like you give above. The user would
have to set up Leo or a script which calls (or launches) Leo as the
handler, so installation would need to be polished, but it's still a
neat idea.
Cheers -Terry