Replies: 6 comments 14 replies
-
Wiki pages are limited in structure. Thats why i've tried with mkdocs .... #3249 |
Beta Was this translation helpful? Give feedback.
-
I like the wiki idea (as awesome-openmage could actually be a wiki page but I remember that this was already said somewhere (couldn't find anymore, I recall it was @Flyingmana but I could be wrong) but there were some limitations with the wiki, maybe about collaborating or versioning, something like that. |
Beta Was this translation helpful? Give feedback.
-
I just discovered there are 2 ways to host wiki in GitHub: I have to admit I have close to no knowledge on the above. I see that https://www.openmage.org/ is built by pages. But there is no wiki section on it yet. May be we can start there, a section called something like Get Dirty and organize by sales, customers, adminhtml, etc. |
Beta Was this translation helpful? Give feedback.
-
We had a similar discussion a while ago here: OpenMage/rfcs#9 I started 4 years ago a documentation repository at https://github.com/OpenMage/documentation Githubs own Wiki was used for a while, but and organizing content, as well as general functionality was limited. And access regulation was difficult. Using Readthedocs for hosting was primarily, so we dont need to fight with any build tools in the pipeline, also its an established hosting platform for documentation. The technology was started with is Sphinx https://www.sphinx-doc.org/en/master/index.html One example for Organizing Content we have The biggest Problem in the end was people having the time to provide new documentation. If anyone has Ideas how to reduce the entry hurdle, Iam open for suggestions. |
Beta Was this translation helpful? Give feedback.
-
I should not have used "Wiki page" as title of this discussion. Wiki means document everything. However, what I actually meant was much less ambitious and much smaller in scope than a full-brown wiki; my intent was more like a section under it called something like "recipes", "how to", "examples" for the new or little known features of OpenMage. I apologize for the misunderstanding. Here's an example of what an article of the page would look like: Add dynamic block contents in category pageIn backend > Catalog > Manage Categories, we can configure a category page and put it on the main menu. The page contents are rendered in
If we want to render an HTML table in which its data are taken from the database, we would follow these steps:
Voila, the HTML table is rendered under the menu we just created. However, every time the table in the database is updated, and because CMS blocks rendering are taken from the cache, we would need to refresh the cache. What if the table is constantly being updated, or there is an expiry condition on some data which shouldn't be included? In which case, we would want to render the HTML table dynamically. It's actually quite easy to do:
<config>
<!-- other config -->
<global>
<!-- other config -->
<!-- copy the following and insert in your etc/config.xml or local.xml -->
<catalog>
<content>
<tempate_filter>cms/template_filter</tempate_filter> <!-- Note the typo on template must remain as "tempate". -->
</content>
</catalog> That's it, the table is now rendered dynamically. There 's no need to create the CMS static block. |
Beta Was this translation helpful? Give feedback.
-
Other nice to haves ... search, copy to clipboard for code blocks, better highlighting, "blog"-like functionality for guides, ... can be tested in local env, just install No need for https://openmage.readthedocs.io nor duplicate code on https://www.openmage.org ... ? |
Beta Was this translation helpful? Give feedback.
-
We have added tons of features. For users and developers, new and old alike, it'll be good to have a wiki page to navigate all these cool features that cannot be found in the old User Guide and Developer Guide, and not answered before in stackoverflow and its sister site.
9 votes ·
Beta Was this translation helpful? Give feedback.
All reactions