use hyde as a clang-doc generator

Aperta
#68 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cmake, cpp

Direzione di ricerca

Inizia leggendo l’interfaccia clang-doc Generators.h e la documentazione di clang tooling Executor, quindi confrontale con la gestione attuale delle unità di traduzione da parte di Hyde. Determina se l’integrazione richiesta del generatore clang-doc o il percorso tramite un formatter esterno è fattibile; il lavoro è completo quando esistono un design di integrazione concordato e il supporto per il workflow indicato con più unità di traduzione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi!

A friend of mine recommended this tool and I would like to use it on my libraries. I really like the output format, easy to read and easy to document. My only issue is integrating the tool itself into my build systems and pipelines.
My main idea was to use the compile_commands.json provided by cmake, but it seems this tool is not ready to accept multiple translation units.

Is your feature request related to a problem? Please describe.
This tool aims to provide documentation based on clang ast. There is already a similar tool in the llvm environment itself, called clang-doc. Would it be possible to merge the efforts of this project into that one?

Describe the solution you'd like
In my opinion the easiest solution would be to merge this repository into the clang-doc as a generator format. This would require minimal modification in the clang-doc itself, but would require acceptance.

Describe alternatives you've considered
Another option would be to extend clang-doc to accept external formatters, such as hyde. This would require modification in the clang-doc as right now it is not ready for that. Would also require modification in the hyde code base, but it would be very similar to the other approach. ( Fit to the Generator interface. )

Additional context
One option would be to support multiple translation units via Executor, but it would cause duplicate effort because clang-doc already does this.

Lingua principale
C++
Stelle
341
Fork
45
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di adobe/hyde

Tutte le issue di adobe/hyde

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.