Skip to content

Commit

Permalink
Update branch names of API docs and disable future for now
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen committed Aug 7, 2023
1 parent 6abc036 commit ad0e9f8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -442,13 +442,13 @@
<table class="doctable">
<tbody>
<tr class="doctr">
<td><a href="https://code.gnucash.org/docs/MAINT">MAINT</a></td><td> |
<td><a href=\URL_API_STABLE>>STABLE</a></td><td> |
<?php echo T_("current bugfix branch");?>
</td></tr>
<tr class="doctr">
<td><a href="https://code.gnucash.org/docs/MASTER">MASTER</a></td><td> |
<?php /* <tr class="doctr">
<td><a href=\URL_API_FUTURE">FUTURE</a></td><td> |
<?php echo T_("future feature branch");?>
</td></tr>
</td></tr> */?>
</tbody>
</table>
</li>
Expand Down
5 changes: 5 additions & 0 deletions externals/global_params.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@

// The URLs, we use:
define("DEFAULT_URL", "https://www.gnucash.org/"); // The main webserver
define("SERVER_BUILD", "code.gnucash.org"); // alias The GIMPNet
define("URL_BUILD", "https://".\SERVER_BUILD."/");
define("URL_DOCS", \URL_BUILD."docs/");
define("URL_API_STABLE", \URL_DOCS."STABLE/");
define("URL_API_FUTURE", \URL_DOCS."FUTURE/");
define("SERVER_IRC", "irc.gimp.net"); // alias The GIMPNet
define("URL_IRC", "irc://".\SERVER_IRC."/gnucash");
$URL_FLATHUB="https://flathub.org/apps/details/org.gnucash.GnuCash";
Expand Down
4 changes: 2 additions & 2 deletions externals/menu.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<li><a href="https://wiki.gnucash.org/wiki/Contributing_to_GnuCash"><?=T_("How to help")?></a></li>
<li><?=T_("Source Docs")?>
<ul>
<li><a href="https://code.gnucash.org/docs/MAINT/"><?=T_("current bugfix branch")?></a></li>
<li><a href="https://code.gnucash.org/docs/MASTER/"><?=T_("future feature branch")?></a></li>
<li><a href=\URL_API_STABLE><?=T_("current bugfix branch")?></a></li>
<?php /* <li><a href=\URL_API_FUTURE><?=T_("future feature branch")?></a></li> */?>
</ul>
</li>
<li><a href="https://github.com/Gnucash/"><?= T_("Browse Source Code")?></a></li>
Expand Down

0 comments on commit ad0e9f8

Please sign in to comment.