Fiddled around w/ pandoc [1]

[1] https://github.com/kamailio/kamailio-wiki/pull/3

On Tue, May 10, 2022 at 9:08 AM Henning Westerholt <[email protected]> wrote:
>
> Hello,
>
>
>
> thanks Seven for your feedback.
>
>
>
> I have made good experiences with static site generators that just generate 
> html that you can serve with standard web servers.
>
>
>
> I did not personally have used it, but I heard that hugo works well and is 
> used a lot. I personally have used gravcms, which is based on PHP.
>
>
>
> You can easily combine this static generators with some cron job and it 
> should work for our existing setup by just adding another path to the apache.
>
> In my experience this is easier as having another app to deploy, monitor and 
> frequently update.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> From: sr-users <[email protected]> On Behalf Of 
> Daniel-Constantin Mierla
> Sent: Tuesday, May 10, 2022 8:29 AM
> To: Seven Du <[email protected]>; Kamailio (SER) - Users Mailing List 
> <[email protected]>
> Subject: Re: [SR-Users] Info: converting dokuwiki content to markdown files
>
>
>
> Thanks, I will check them.
>
> Ideally it is an app that can run on or behind a http server/proxy and serve 
> html pages generated from the .md files directly from the folder with the 
> clone of the github repo. But maybe I ask too much and adapting the wiki 
> structure for a static site generator from .md files is enough or even better.
>
> Cheers,
> Daniel
>
> On 10.05.22 00:28, Seven Du wrote:
>
> We'd like to help.
>
>
>
> Select one from Jekyll, Hugo and TailwindBlog
>
>
>
> Jekyll: Ruby based https://jekyllrb.com/, can directly convert to html by 
> github
>
> Hugo: Go based,  can also auto covert to html 
> https://gohugo.io/hosting-and-deployment/hosting-on-github/
>
> TailwindBlog: Next.js based 
> https://github.com/timlrx/tailwind-nextjs-starter-blog
>
>
>
> We built a few websites with the TailwindBlog recently and it looks very 
> good. But as all JS projects, you have to download a giant deps of 
> node_modules and build locally manually to generate static html pages, we 
> haven't found how to do it automatically, since our updates are not frequent, 
> we are ok to do it by hand.
>
>
>
> There may be other options. Anyway, look and discuss, as long as it's 
> determined we can help to build.
>
>
>
> As a reference, these are sites we just built recently:
>
>
>
> - https://xswitch.cn/
>
> - http://rts.cn/
>
>
>
>
>
>
>
> On Mon, May 9, 2022 at 8:11 PM Daniel-Constantin Mierla <[email protected]> 
> wrote:
>
> Hello,
>
> it was discussed a couple of times during the past Kamailio development
> meetings and several days ago the works started to convert the Kamailio
> Wiki content to markdown format and host the files on Kamailio
> github.com organisation.
>
> The Dokuwiki engine has served us very well during more than a decade
> and a half, but open editing had to be disabled many years ago due to
> bad actors pushing inappropriate content. The contributors had to make a
> dedicated account on our portal only for Wiki editing. More recently we
> had add another layer of protection requiring to grant manually edit
> permissions to newly created wiki accounts because bots started to work
> around CAPTCHA and other security extensions, posting again
> inappropriate content.
>
> All these added to operational overhead, but also made it difficult for
> new people to contribute, specially for small editing to fix typos or
> add usage examples.
>
> Thanks to Kenneth Stowe, who undertook the first big effort of
> converting the Dowkuwiki files to markdown format, we are now in the
> position of moving further with the plans of using github for hosting
> the content of the wiki and enable easier contributions via pull
> requests. The history of changes done via Dokuwiki show up now as git
> commits.
>
> The github repository for the wiki content is available at:
>
>   * https://github.com/kamailio/kamailio-wiki
>
> It is still work in progress, therefore we ask for the help of community
> to speed up the conversion, among the tasks that need to be done:
>
>   * convert relative links between wiki pages – the conversion tools
> used relative paths without file extensions, like:
>
> [Install Kamailio v4.4.x From GIT](/install/4.4.x/git)
>
> They have to be converted to relative path with .md extension in order
> to be able to browse directly :n the github.com portal — practically the
> leading / has to be removed and .md added at the end, like:
>
> [Install Kamailio v4.4.x From GIT](install/4.4.x/git.md)
>
>   * some section heading markers were not detected/converted, onee may
> notice many equal signs (=) around a section name, it has to be replaced
> with the appropriate markdown format based on hash signs (#). For example:
>
> ======= Install And Maintain Kamailio v4.4.x From GIT =======
>
> Should be converted to:
>
> # Install And Maintain Kamailio v4.4.x From GIT
>
>   * some Dokuwiki paragraphs used special formatting based on plugins,
> for example the notes, warnings, … had special colors. The common
> markdown format does not specify a syntax to color the text, the propose
> solution is to use emoji at the start of the paragraph to signal its
> special purpose. For example, the Dokuwiki content:
>
> <color blue>//IMPORTANT: Content for older releases than 3.2.0 is
> available at the **Old Wiki Site**://</color>
>
> Has to be transformed to:
>
> :fire:*IMPORTANT: Content for older releases than 3.2.0 is available at
> the **Old Wiki Site**:*
>
> You are welcome to propose a better syntax for this kind of transformation.
>
>   * review config examples and evaluate what improvements can be done
> (e.g., in terms of formatting and syntax highlighting)
>
> Any of these changes do not require any C programming knowledge, nor
> much Kamailio config knowledge. Can be your first contribution to the
> project and it will be very appreciated. It can also help you learn more
> about Kamailio, because you may discover documentation that you were not
> aware of.
>
> A very important decision is how to present the wiki markdown content on
> kamailio.org website. Besides being able to see it on github repository,
> we want to process the markdown pages somehow and make them available in
> html format on kamailio.org website for easier navigation and better
> indexing (e.g., with tables of content for large pages). If you are
> aware of a suitable cli or web app that can convert markdown to html and
> generate table of content, let us know.
>
> Any questions and suggestions should be addressed to
> [email protected] mailing list. Looking forward to your
> contributions on this community effort!
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> --
>
> Daniel-Constantin Mierla -- www.asipto.com
>
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>
> Kamailio Advanced Training - Online: June 20-23, 2022
>
>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to