Giter Site home page Giter Site logo

Comments (6)

TheFrenchGhosty avatar TheFrenchGhosty commented on September 26, 2024

This was already discussed in the Matrix room months ago, but I'll explain it here:

I am the one who recommended WikiJS, I know that the fact that it's a JS frontend is a bad thing, and I perfectly agree with people who think it's a bad idea.

However it's sadly currently the only wiki software that does something that ease things for us:

We want a documentation website that can pull it's content from a git repository so that the VPS isn't "critical" and can be replaced without data loss. We want a documentation written in "standard" markdown.

WikiJS is the only one that can do that.

Personally, I also wanted an included editor, WikiJS has that.

Obviously, it's not ideal, but feature wise WikiJS is the only one that does what we want.

Obviously if one day, a documentation project works without JS and does those things we will move to it... until then, it's WikiJS.

If you really don't want to enable JS you can read the documentation directly from the git repo/Github.

from documentation.

smithfred avatar smithfred commented on September 26, 2024

Why not use something like Sphinx to generate static HTML from Markdown? It can be self-hosted, or auto-generated by and hosted on Read the Docs or similar.

  • We want a documentation website that can pull it's content from a git repository
  • We want a documentation written in "standard" markdown.

What am I missing?

from documentation.

TheFrenchGhosty avatar TheFrenchGhosty commented on September 26, 2024

The standard markdown isn't displayed this way, it's HTML generated from markdown, it's not great.

from documentation.

smithfred avatar smithfred commented on September 26, 2024

It's always going to be HTML generated from Markdown (unless you're doing something insane like drawing directly on a <canvas> element). You're either generating HTML server-side from the Markdown, or generating it client-side via JS.

Not great how?

from documentation.

TheFrenchGhosty avatar TheFrenchGhosty commented on September 26, 2024

We're generating HTML from the markdown and we're using those HTML files, we're not directly using the markdown files. This is what isn't great.

from documentation.

smithfred avatar smithfred commented on September 26, 2024

The Markdown files are not being used directly either way. Web browser do not have built-in Markdown renderers. WikiJS is just client-side rendering from Markdown to HTML every single time, on everyone's machine individually, instead of once on a server when something changes in the relevant repo. It's an incredibly inefficient and pointless exercise, reinventing a worse wheel than the original (serving HTML to be rendered directly).

This is what isn't great.

Why?

from documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.