Skip to content

Commit

Permalink
Convert links within this documenation to relative links
Browse files Browse the repository at this point in the history
So they will work also after the migration.
  • Loading branch information
jugmac00 committed Oct 14, 2023
1 parent ce05d64 commit 8e244b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions explanation/performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ You should also make use of the already mentioned ``cachedproperty`` decorator
in order to avoid querying the database more often then necessary.

When changing code, it can easily happen to increase the query count. You can
avoid this by using a helper to `preserve query count`_.
avoid this by using a helper to
:doc:`preserve query count <../how-to/preserve-query-count>`.

When you face performance or even timeout issues, you should learn more about
`timeout analysis`_ (internal video).
Expand All @@ -79,7 +80,6 @@ PostGreSQL comes with a `builtin tool`_ to analyze SQL queries.
.. _timeout analysis: https://drive.google.com/file/d/1hUivL07Msoyej3wd_T4hMAX61EJzfE38/view?usp=drive_link
.. _builtin tool: https://www.postgresql.org/docs/current/sql-explain.html
.. _write efficient queries: https://dev.launchpad.net/Database/Performance
.. _preserve query count: https://launchpad.readthedocs.io/en/latest/how-to/preserve-query-count.html

Delivering payload
------------------
Expand Down
14 changes: 5 additions & 9 deletions how-to/contributing-changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,15 @@ Create a branch from a reasonable point, such as ``master``.
git checkout -b my-change
Make your changes on the branch. Be sure to test them locally by setting up a
local `Launchpad development instance`_.

.. _Launchpad development instance: https://launchpad.readthedocs.io/en/latest/how-to/running.html
local :doc:`Launchpad development instance <running>`.

Run the pre-commit hook
-----------------------

If you followed the instructions to `set up and run Launchpad`_, you should
already have ``pre-commit`` installed and have the ``pre-commit`` git hook
`installed`_. If not, complete these steps before proceeding.

.. _set up and run Launchpad: https://launchpad.readthedocs.io/en/latest/how-to/running.html
.. _installed: https://launchpad.readthedocs.io/en/latest/how-to/running.html#installing-the-pre-commit-hook
If you followed the instructions to :doc:`set up and run Launchpad <running>`,
you should already have ``pre-commit`` installed and have the
:ref:`pre-commit git hook <pre-commit>` installed. If not, complete these steps
before proceeding.

Push your changes
--------------------
Expand Down

0 comments on commit 8e244b4

Please sign in to comment.