eclipse-score / eclipse-score/docs-as-code

Sphinx config should not have pathlib instances

Aperta
#288 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug waiting_for_author
Lingua principale
Python
Stelle
10
Fork
32
Merge medio
23h 52m
PR unite (30g)
52

Descrizione

During the implementation of https://github.com/eclipse-score/docs-as-code/pull/283 I observed that pathlib instances are created in the Sphinx configuration.
Affected path `needs.external_needs[0].json_path`.
Those can not be reflected in a declarative configuration such as TOML.

Paths should be stored as strings to be loadable from external TOML files.
It also makes sense for configuration pickling that Sphinx does for incremental builds.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.