Commit graph

46 commits

Author SHA1 Message Date
Russell Keith-Magee
cff2d01252
Add docs for mapview. 2024-02-21 11:03:47 +08:00
Russell Keith-Magee
c13130e45e
Attempt to use type aliases to improve docs. 2023-12-12 14:56:51 +08:00
Charles Whittington
3ac5a4eccb Added more documentation and external links, added format to Windows.as_image, and modified dummy Image and associated backends use actual image data 2023-11-19 20:59:53 -05:00
Russell Keith-Magee
b1bc2d5b79
Add release notes for v0.4.0. 2023-11-03 10:56:12 +08:00
Russell Keith-Magee
e656e772a4
Add Web and Textual screenshot tabs, plus removed need for availability table. 2023-11-01 07:34:57 +08:00
Russell Martin
7ca3cbebc9
Remove copyright year from docs (re: beeware/briefcase#1431) 2023-09-19 12:03:01 -04:00
Malcolm Smith
5821c65eda Documentation cleanups 2023-09-12 18:33:52 +01:00
Malcolm Smith
d761b7ac00 Enable autodoc_default_options: members, undoc-members, show-inheritance 2023-08-22 12:21:57 +01:00
Malcolm Smith
125ddf24cf Documentation fixes 2023-08-09 13:53:21 +01:00
Niklas Mertsch
1682acba68 Docs: add protocols 2023-07-23 15:33:09 +02:00
Russell Martin
7fda56af52
Drop root prompt # from copybutton regex to avoid false detection with comments 2023-04-26 11:12:43 -04:00
Russell Martin
5c3283db06
Add support for sphinx-copybutton 2023-04-24 19:28:28 -04:00
Russell Keith-Magee
19584b880f
Turn off the PyPI filter. 2023-04-13 11:04:17 +08:00
Russell Martin
37b58ec6f3
Implement documentation linting
- Introduce new tox environments `docs-lint` and `docs-all`
  - `docs-lint` will check for dead links and run spellchecking
  - `docs-all` will force a rebuild for all documentation
- Update documentation and docstrings to pass linting; this includes
  some innocuous code changes for modernization
- Run `tox -e docs-lint` on RTD before the docs are built
2023-04-09 20:53:24 -04:00
Malcolm Smith
fe19727209 Complete Slider documentation 2023-03-23 18:24:32 +00:00
Malcolm Smith
f6407d470d Make API support table circles a more consistent size 2023-03-04 15:13:04 +00:00
Russell Keith-Magee
60e24fc266
Merge pull request #1762 from mhsmith/beta-check
Distinguish beta from stable support in docs
2023-02-04 09:08:15 +08:00
Malcolm Smith
06afc9d02a Replace colors with different symbols, and add key to individual pages 2023-02-01 09:28:37 +00:00
Malcolm Smith
6ccf6945f4 Distinguish beta from stable support in docs 2023-01-31 19:42:52 +00:00
Russell Keith-Magee
cd1a8cfbd8
Correct version handling in docs. 2023-01-31 13:09:54 +08:00
Malcolm Smith
891f562602 Merge branch 'main' into setuptools-scm 2023-01-19 17:48:14 +00:00
Russell Keith-Magee
ad68929c51
Switch to furo as a Sphinx theme. 2023-01-11 08:16:52 +08:00
Malcolm Smith
c485a35d56 Move docs configuration to setuptools-scm 2022-11-10 17:17:27 +00:00
Malcolm Smith
1c18694228 Fix tox -e docs 2022-11-07 18:26:37 +00:00
Malcolm Smith
3025e64b92 Update paths in all other locations 2022-11-07 18:01:22 +00:00
Russell Keith-Magee
10c22a3a54
Enable black formatting. 2022-10-27 12:19:46 +08:00
Malcolm Smith
5aa5439d6f Merge branch 'pre-commit' into add_dummy_platform
# Conflicts:
#	docs/how-to/contribute.rst
#	src/core/src/toga/fonts.py
#	src/core/src/toga/platform.py
#	src/core/tests/command/test_command.py
#	src/core/tests/command/test_commands_set.py
#	src/core/tests/widgets/test_selection.py
2022-10-21 17:24:51 +01:00
Malcolm Smith
63ddaa623c Add pre-commit hook: pyupgrade 2022-10-21 12:02:17 +01:00
Malcolm Smith
520a02b8e1 Merge branch 'main' into add_dummy_platform
# Conflicts:
#	.github/workflows/ci.yml
#	src/android/setup.cfg
#	src/cocoa/setup.cfg
#	src/core/setup.cfg
#	src/core/src/toga/platform.py
#	src/dummy/setup.cfg
#	src/gtk/setup.cfg
#	src/iOS/setup.cfg
#	src/web/toga_web/app.py
2022-10-20 18:42:44 +01:00
Malcolm Smith
ba035e04ec Fix tox -e docs 2022-10-18 14:19:12 +01:00
Bruno Rino
49051fb5a2 Change the environment variable override to target backends instead of platforms
Signed-off-by: Bruno Rino <bruno.rino@gmail.com>
2022-09-29 18:24:01 +02:00
Russell Keith-Magee
d423a21f68
Migrate projects to use setup.cfg. 2020-06-07 10:18:16 +08:00
Olga Bulat
113451c4c7 Configure csv table creation and styling
Signed-off-by: Olga Bulat <obulat@gmail.com>
2019-11-02 23:01:06 +03:00
Russell Keith-Magee
8c29995beb
Added tabs for code samples in contribution docs. 2018-01-25 16:58:17 +11:00
Russell Keith-Magee
731e5a7cc1
Merge branch 'master' into restruc_toga 2017-09-10 16:44:20 +10:00
Jonas Schell
2e352582e9 Ported documentation added sphinx ext. napoleon and todo to deal with the new google docstring style.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
2017-08-10 18:42:36 +02:00
Daniele Procida
c94e89c0f2 Restructured and improved documentation
* updated Makefile to:
  * create a virtualenv for the documentation (``make install``)
  * provide a ``make run`` command
  * provide a ``make spelling`` command
* added a requirements_docs.txt
* added a spelling_wordlist for special words
* corrected various spelling errors
* updated conf.py to use RTD theme for local building
* restyled documentation home page, added logo
* moved content into tutorial/how-to/reference/background sections as appropriate
* renamed "internals" to "project"
* added internal reference links
* suppressed orphan warning for numerous pages
* updated .gitignore for /docs/env

(cherry picked from commit 96f383f)
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
2017-08-09 17:53:34 +02:00
Daniele Procida
96f383f086 Restructured and improved documentation
* updated Makefile to:
  * create a virtualenv for the documentation (``make install``)
  * provide a ``make run`` command
  * provide a ``make spelling`` command
* added a requirements_docs.txt
* added a spelling_wordlist for special words
* corrected various spelling errors
* updated conf.py to use RTD theme for local building
* restyled documentation home page, added logo
* moved content into tutorial/how-to/reference/background sections as appropriate
* renamed "internals" to "project"
* added internal reference links
* suppressed orphan warning for numerous pages
* updated .gitignore for /docs/env
2017-08-08 13:26:48 +10:00
Dwight Hubbard
2aeb7d1b8d Minor documentation fixes
1. Add links to the classes in the text at the bottom of the second tutorial
2. Update conf.py to use the sphinx-rtd-theme if can be imported so the documentation can built and tested locally.
3. Fix the headers in the Readme to not be beyond the header text.
2017-05-24 15:06:34 -07:00
Anthony Shaw
23646be6be
apply a better approach to the sphinx doc issue 2017-02-08 17:35:17 +08:00
Anthony Shaw
b9ba311a45
fix the autodoc issue, since the main module runs code on import, set to bypass that code if Sphinx 2017-02-05 20:30:40 +11:00
Russell Keith-Magee
9aba640d76 Fixed #74 -- Corrected configuration and markup errors in docs.
Thanks to @paidhi for the report.
2016-10-26 21:47:54 +08:00
Richard Jones
4f0b761e74 Add extracted reference docs
This patch adds the ability to document the UI toolkit using
base abstract classes, and includes those docs in the reference
doc section.

Signed-off-by: Richard Jones <r1chardj0n3s@gmail.com>
2016-10-23 10:19:07 +08:00
Russell Keith-Magee
af7b8ed5ac Refactored platforms into their own separate repositories. 2016-10-23 10:19:04 +08:00
Russell Keith-Magee
50289f7e25 Renamed project to Toga 2016-10-23 10:18:56 +08:00
Russell Keith-Magee
e4eaec6b37 Initial code commit 2016-10-23 10:18:54 +08:00