Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem] Official Documentation is difficult to maintain, translate, version and reproduce #7832

Closed
2 tasks done
sliptonic opened this issue Nov 18, 2022 · 5 comments
Closed
2 tasks done
Labels
Documentation Process Items which address issues of procedures and policy.

Comments

@sliptonic
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Version

0.21 (Development)

Full version info

N/A.  This affects the FreeCAD ecosystem, not the software directly.

Subproject(s) affected?

No response

Problem description

The official documentation is maintained in a wiki. This system has served the community reasonably well for many years but has some severe limitations. This issue is created as a place to discuss a possible future replacement. Let's try not to jump to possible solutions yet. Instead, let's talk about the limitations of the current system, whether they can be overcome, and what an ideal solution would look like.

An ideal documentation system would have several features:

Authoring Syntax

The syntax should be as simple as possible and allow good readability for the source. This makes it easier for casual contributions from non-experts. If the syntax is too complicated, fewer people will contribute. Markdown is very good here.

Authoring tools

Casual contributors should be able to make quick changes directly from the web. Advanced users should be able to work with a local editor.

Git version control.

The workflow around documentation should use the same tools and processes that we use for the software itself - Issues, pull requests, "code review", etc.

Translation

The system should interface well with Crowdin or similar translation platforms.

Software/Document Versioning

We should be able to keep documentation online for previous versions of the software.

Formats

It should be possible to generate an offline copy like an Epub for reading on a kindle or other reader.

Integration with the software.

The documentation should feel like part of the user experience, not a separate thing.
Should we be able to create stub pages directly from the source code?

Import Capability

It should be possible to automatically import our current data

Export Capability

It shouldn't create lock-in that prevents us from moving to a different system in the future.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@chennes
Copy link
Member

chennes commented Nov 18, 2022

It's probably part of the "translation" solution, but one of the major drawbacks of the current wiki system is that searches aren't confined to a single language, so your search results almost invariably return ten different copies of the same page, in all different languages. I think that any system we decide to migrate to should have a more clearly-defined separation when searching, so you only get your chosen language in the results (or I suppose the base page if no translation exists yet?).

@obelisk79
Copy link
Contributor

obelisk79 commented Nov 18, 2022

Another consideration for WIKI management should include research into adding a functional WYSIWYG editor. Creating a page using syntax formatting and having to preview to see the end result can get tedious during major edits. I believe there are a few existing plugins which work with our wiki system.

Another thought, is that for any software feature change/addition/removal, someone should volunteer to make wiki updates before such a PR gets merged to minimize deprecation of information.

Would it be possible to setup the wiki to function similarly to a forum with content moderation?
Explanation of what I mean:
-Wiki is opened up for anyone to freely create an account and submit edits.
-A group of wiki accounts are established separate from Administrators to function as moderators to review edits and approve them as a means to filter out inappropriate spam or poorly created/formatted content.

Lastly, +1 on Chris's comment about search results not being limited to one language translation. I'm not finding an apparent solution to this using MediaWiki. However being the same platform wikipedia is built on, I can't imagine that this would be impossible.

@luzpaz
Copy link
Contributor

luzpaz commented Nov 18, 2022

@silopolis
Copy link

silopolis commented Nov 18, 2022 via email

@chennes
Copy link
Member

chennes commented Nov 26, 2022

Does anyone have experience with Docusaurus? https://github.com/facebook/docusaurus

It's open source, MIT licensed, and seems to check all of our boxes. There are some scripts out there to help migrate mediawiki into it.

@luzpaz luzpaz added Documentation Process Items which address issues of procedures and policy. labels Dec 3, 2022
@FreeCAD FreeCAD locked and limited conversation to collaborators Aug 12, 2023
@luzpaz luzpaz converted this issue into discussion #10203 Aug 12, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Documentation Process Items which address issues of procedures and policy.
Projects
None yet
Development

No branches or pull requests

5 participants