Skip to content

Commit

Permalink
readthedocs integration. First attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalmat committed Apr 23, 2024
1 parent e87ed2e commit 6921ae9
Show file tree
Hide file tree
Showing 7 changed files with 405 additions and 407 deletions.
32 changes: 0 additions & 32 deletions .readthedocs.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Example:

## Menu Features <a name="menu-features"></a>

#### Available in: MS-Windows and macOS Apple Script version (Win32Window() and MacOSWindow() classes)
***Available in: MS-Windows and macOS Apple Script version (Win32Window() and MacOSWindow() classes)***

menu sub-class for Menu info and control methods, accessible through 'menu' submodule.

Expand Down Expand Up @@ -241,7 +241,7 @@ Menu dictionary (returned by getMenu() method) will likely contain all you may n

Note not all windows/applications will have a menu accessible by these methods.

## INSTALL <a name="install"></a>
## Install <a name="install"></a>

To install this module on your system, you can use pip:

Expand All @@ -261,11 +261,11 @@ Then, you can use it on your own projects just importing it:

import pywinctl as pwc

## SUPPORT <a name="support"></a>
## Support <a name="support"></a>

In case you have a problem, comments or suggestions, do not hesitate to [open issues](https://github.com/Kalmat/PyWinCtl/issues) on the [project homepage](https://github.com/Kalmat/PyWinCtl)

## USING THIS CODE <a name="using"></a>
## Using this code <a name="using"></a>

If you want to use this code or contribute, you can either:

Expand All @@ -274,7 +274,7 @@ If you want to use this code or contribute, you can either:

Be sure you install all dependencies described on "requirements.txt" by using pip

## TEST <a name="test"></a>
## Test <a name="test"></a>

To test this module on your own system, cd to "tests" folder and run:

Expand Down
1 change: 1 addition & 0 deletions docs/source/README.md
11 changes: 9 additions & 2 deletions docs/conf.py → docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,22 @@
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []
extensions = ["myst_parser"]

myst_enable_extensions = ["colon_fence"]

source_suffix = {
'.rst': 'restructuredtext',
'.txt': 'markdown',
'.md': 'markdown',
}
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']
myst_heading_anchors = 7
1 change: 1 addition & 0 deletions docs/source/docstrings.md
18 changes: 18 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.. PyWinCtl documentation master file, created by
sphinx-quickstart on Tue Apr 23 14:42:19 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to PyWinCtl's documentation!
====================================

.. toctree::
:maxdepth: 3

readme <README.md>

:hidden:

docstrings <docstrings.md>


Loading

0 comments on commit 6921ae9

Please sign in to comment.