Skip to content
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

Study: DocC for documentation? #821

Open
julien-deramond opened this issue May 6, 2024 · 2 comments
Open

Study: DocC for documentation? #821

julien-deramond opened this issue May 6, 2024 · 2 comments
Labels
📖 documentation Improvements or additions to documentation 🔍 study

Comments

@julien-deramond
Copy link
Member

Description

The aim of this study is to check if using DocC could be a better alternative to our current documentation system based on Jekyll + Orange theme.

The current documentation is really basic and needs a lot of actions from the web team, especially regarding the theming approach, the menu, etc.

DocC seems to be more iOS-developer friendly in terms of DX for the library users, and maybe in terms of maintenance for the core team.

  • What do you think of this tool?
  • Would it be better to switch to it?
  • Are there any blocking points? Technical, in terms of features, licensing, etc.
  • etc.
@julien-deramond julien-deramond added 📖 documentation Improvements or additions to documentation 🔍 study labels May 6, 2024
@julien-deramond julien-deramond changed the title Study: DocC Study: DocC for documentation? May 6, 2024
@ludovic35
Copy link
Member

@ludovic35
Copy link
Member

ludovic35 commented May 31, 2024

What is nice:

  1. Add the component documentation in code :
    In code, before the component (here: strcut view) definition, it is possible to add the associated documentation in markdown format. Heder, code exemple, image, ... can be used.
  • The final documentation is creatrd by the doc compiler parking the markdown in the source code.
  • The quick help documentation it is also presented when the developper wants to use the component directly in the Xocde IDE.

Capture d’écran 2024-05-31 à 10 06 35

  1. Add overview documentation
    Based on a Docc catalogue stored in a folder of the source tree, it is possible to create a "global" documentation to describe the content of the library (propose an overview, some generis topics, a get started section, ...)

Capture d’écran 2024-05-31 à 11 41 11

  1. Generate web site content
    Of coure, based on all documentation stored in the repository, it is possible to generate a content that could be deployed on a web site (githupb pages for example).

Capture d’écran 2024-05-31 à 14 42 29

4 Tutorial
For detail see : https://www.swift.org/documentation/docc/tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 documentation Improvements or additions to documentation 🔍 study
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants