Skip to content

Commit

Permalink
now need to create links
Browse files Browse the repository at this point in the history
  • Loading branch information
daquinteroflex committed Jun 14, 2024
1 parent 2361e01 commit 5be98e2
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 25 deletions.
17 changes: 16 additions & 1 deletion docs/development/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,19 @@ Further Guidance

- The sphinx warnings are OK as long as the build occurs, errors will cause the crash the build.
- Make sure all your internal API references start with ``tidy3d.<your_reference>``
- In notebooks, always have absolute links, otherwise the links will break when the user downloads them.
- In notebooks, always have absolute links, otherwise the links will break when the user downloads them.


Writing Documentation
^^^^^^^^^^^^^^^^^^^^^^^^

... raw::

Normally, there are no heading levels assigned to certain characters as the structure is determined from the succession of headings. However, this convention is used in Python Developer’s Guide for documenting which you may follow:
# with overline, for parts
* with overline, for chapters
= for sections
- for subsections
^ for subsubsections
" for paragraphs

2 changes: 0 additions & 2 deletions docs/development/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ Welecome to the ``tidy3d`` developers guide!
:maxdepth: 2

introduction/index
project_structure
installation
usage
documentation
recommendations
release/index

.. include:: /development/introduction/index.rst
.. include:: /development/project_structure.rst
.. include:: /development/installation.rst
.. include:: /development/usage.rst
.. include:: /development/documentation.rst
Expand Down
4 changes: 2 additions & 2 deletions docs/development/installation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Installation
==============
Development Environment Installation
=====================================

The Fast Lane
--------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Code Quality
------------
Code Quality Principles
------------------------

When writing a code snippet, remember the saying: "code is read more than written". We want to maintain our code maintainable, readable and high quality.

Expand Down
6 changes: 5 additions & 1 deletion docs/development/introduction/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ This page hopefully will get you started to develop Tidy3D.

understanding_virutal_environments
understanding_poetry
code_quality_principles
project_structure


.. include:: /development/introduction/understanding_virutal_environments.rst
.. include:: /development/introduction/understanding_poetry.rst
.. include:: /development/introduction/understanding_poetry.rst
.. include:: /development/introduction/code_quality_principles.rst
.. include:: /development/introduction/project_structure.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Project Structure
=================
``tidy3d`` Project Structure
==============================

As of ``tidy3d>=2.6``, the frontend has been restructured to improve the development cycle. The project directories follow the following structure, which is derived from some recommended `Python project architecture guides <https://docs.python-guide.org/writing/structure/>`_. This is a handy structure because many tools, such as ``sphinx``, integrate quite well with this type of project layout.

Expand Down
16 changes: 1 addition & 15 deletions docs/development/release/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,4 @@ Hot Fix & Submodule Updates

To make a “hot fix” (eg fix a typo, add a notebook, update the release FAQ), just update the ``latest`` branch in ``tidy3d`` repo. This should automatically sync to `tidy3d-docs`, and trigger a docs rebuild. **However, we should avoid this as this will cause the ``develop`` and ``latest branches`` to diverge.** Ideally, these hot fixes could wait until the next pre/post-release to be propagated through.

NOTE: To avoid conflicts, ideally we should only update ``latest`` by merging ``develop`` in it, or at the very least we should make sure changes are propagated to both branches.

Writing Documentation
^^^^^^^^^^^^^^^^^^^^^^^^

... raw::

Normally, there are no heading levels assigned to certain characters as the structure is determined from the succession of headings. However, this convention is used in Python Developer’s Guide for documenting which you may follow:
# with overline, for parts
* with overline, for chapters
= for sections
- for subsections
^ for subsubsections
" for paragraphs

NOTE: To avoid conflicts, ideally we should only update ``latest`` by merging ``develop`` in it, or at the very least we should make sure changes are propagated to both branches.

0 comments on commit 5be98e2

Please sign in to comment.