You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds a section in the contributing documentation, to outline the logic of the extension, in relation to what events it adds to the sphinx build.
Hopefully, this can help contributers to understand how the extension works, and how/where to suggest fixes/improvements in the code base
- Copy vendored CSS files to build folder (``install_styles_static_files``)
221
+
222
+
#. Note, the ``BuildEnvironment`` is cached at this point, only if any documents were updated.
223
+
224
+
#. For all changed documents, or their dependants (``doctree-resolved``)
225
+
226
+
- Replace all ```Needextract``` nodes with a list of the collected ``Need`` (``process_creator``)
227
+
- Remove all ``Need`` nodes, if ``needs_include_needs`` is ``True`` (``process_need_nodes``)
228
+
- Call dynamic functions, set as values on the need data items and replace them with their return values (``process_need_nodes -> resolve_dynamic_values``)
229
+
- Replace needs data variant values (``process_need_nodes -> resolve_variants_options``)
230
+
- Check for dead links (``process_need_nodes -> check_links``)
231
+
- Generate back links (``process_need_nodes -> create_back_links``)
232
+
- Process constraints, for each ``Need`` node (``process_need_nodes -> process_constraints``)
233
+
- Perform all modifications on need data items, due to ``Needextend`` nodes (``process_need_nodes -> process_needextend``)
234
+
- Format each ``Need`` node to give the desired visual output (``process_need_nodes -> print_need_nodes``)
235
+
- Process all need specific nodes, replacing them with the desired visual output (``process_creator``)
236
+
- Remove ``Need`` nodes marked as ``hidden`` (``remove_hidden_needs``)
237
+
238
+
#. At the end of the build (``build-finished`` event)
239
+
240
+
- Call all user defined need data checks, a.k.a warnings (``process_warnings``)
241
+
- Write the ``needs.json`` to the output folder (``build_needs_json``)
242
+
- Write all required UML files to the output file (``build_needumls_pumls``)
243
+
- Print process timing, if enabled (``process_timing``)
0 commit comments