Forums / Suggestions / Community documentation etiquette

Community documentation etiquette

Author Message

Bruce Morrison

Monday 08 September 2003 12:09:39 am

I recently added a document to the system that lists template variables and what they are. It was intended to be a reference so that I wouldn't have to keep added {$module.result|attribute(show,3)} to my template code. I thought I'd add the document to the community list so It could help others.

Since then a couple of things have happened:

1. The document structure has been changed. Not a really biggie but I preferred my formating ;) Is there a "style guide" for documents? The formating changes seems to be at the whim of the next person that edits the document. (I can't go back and edit it now that someone else has edited the file)

2. Additional information has been added to the document. Great! except the additional information, while it tries to do a similar job, doesn't follow the conventions in the original document, is incomplete and has a completely different style to the original.

It would make sense for the additional information to have been made a subdocument.

It concerns me that there seems to be little etiquette when it comes to the community documentation. After this experience I'm reluctant to contribute additional documentation.

Why do I no longer have any editing right over this page?

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Jan Borsodi

Monday 08 September 2003 2:44:45 am

We will create some guidelines for how documentation should be, we are currently working on restructuring the documentation (currently offline).
We will probably have a general guideline and specific guidelines for writing template functions/operators etc.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paul Borgermans

Monday 08 September 2003 8:34:57 am

Hi Bruce,

Its me who upset you, and I did not intend to do that, sorry.

>1. The document structure has been changed. Not a
>really biggie but I preferred my formating Is there a
>"style guide" for documents? The formating changes
>seems to be at the whim of the next person that
>edits the document. (I can't go back and edit it now
>that someone else has edited the file)

Well, that's the point of the wiki style documentaton. For this particular page, I noticed the confusion of which variable is available where. There is a substantial difference on what is available where and this does not only depend on caching. I tried to clarify this for the pagelayout and view templates.

>2. Additional information has been added to the
>document. Great! except the additional information,
>while it tries to do a similar job, doesn't follow the
>conventions in the original document, is incomplete
>and has a completely different style to the original.

Sure, its incomplete, I searched for this in the index.php and kernel functions but did not look at everything (yet). I thought it did make sense to change the style to reflect the changed content.

>It would make sense for the additional information
>to have been made a subdocument.

For the content yes, its too long now. It should better be split up between the various "types" of templates.

>It concerns me that there seems to be little
>etiquette when it comes to the community
>documentation. After this experience I'm reluctant >to contribute additional documentation.

Quite some pages I wrote before are edited too, but that's the purpose of the wiki style documentation project. The ez crew is currently restructuring/editing the docs (which is needed), so expect more changes.

>Why do I no longer have any editing right over this
>page?

If you cannot edit the page anymore, than that's a bug, but I don't think you mean that. For other editing rights, please review the introduction page: its a GPL-ed wiki style project.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Bruce Morrison

Monday 08 September 2003 3:30:55 pm

Hi Paul

I would have taken this off line if I knew your email address. Thanks for answering.

I posted this message because there are no style guidelines and there needs to be. You changed the presentation and content style of the document as well as adding additional documentation.

I think the wiki type (and yes, I have read the documentation) of documentation system is great and encourages the community to share information. However I do believe that there is a level of etiquette required to make these systems work effectively.

Cheers
Bruce
brucem@designit.com.au

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

eZ debug

Timing: Jan 18 2025 04:30:03
Script start
Timing: Jan 18 2025 04:30:03
Module start 'content'
Timing: Jan 18 2025 04:30:04
Module end 'content'
Timing: Jan 18 2025 04:30:04
Script end

Main resources:

Total runtime0.7697 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 587.7344180.8281
Module start 'content' 0.00880.6021 768.5625619.1094
Module end 'content' 0.61090.1587 1,387.6719343.1719
Script end 0.7696  1,730.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5327210.0002
Check MTime0.00150.1970210.0001
Mysql Total
Database connection0.00120.151010.0012
Mysqli_queries0.682088.61541990.0034
Looping result0.00250.32151970.0000
Template Total0.734395.420.3671
Template load0.00200.257620.0010
Template processing0.732395.143020.3661
Template load and register function0.00010.012110.0001
states
state_id_array0.00160.201410.0016
state_identifier_array0.00150.198220.0008
Override
Cache load0.00170.2237540.0000
Sytem overhead
Fetch class attribute can translate value0.00300.388940.0007
Fetch class attribute name0.00120.152770.0002
XML
Image XML parsing0.00200.265740.0005
class_abstraction
Instantiating content class attribute0.00000.002080.0000
General
dbfile0.00340.4478410.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs