File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ The `selenium` package is used to automate web browser interaction from Python.
2323| **API Docs **: | `api.html <api.html >`_ |
2424+-------------------+------------------------------------------------+
2525
26- Updated documentation published with each commit is available at: https://selenium-python-api-docs.readthedocs.io
26+ Updated documentation published with each commit is available at: ` readthedocs.io < https://selenium-python-api-docs.readthedocs.io/en/latest >`_
2727
2828----
2929
Original file line number Diff line number Diff line change 1515# specific language governing permissions and limitations
1616# under the License.
1717
18+
1819# -----------------------------------------------------------------
1920# This script recursively scans the `selenium` package directory
2021# to find all modules, then generates the `py/docs/source/api.rst`
@@ -47,8 +48,8 @@ def find_modules(package_name):
4748 package_name = "selenium"
4849 output_file = os .path .join ("docs" , "source" , "api.rst" )
4950 print (f"generating module list for sphinx autodoc in: { output_file } \n " )
50- modules = find_modules (package_name )
51- base_modules = [mod for mod in sorted (set ( module .rsplit ("." , 1 )[0 ] for module in modules ) ) if mod != package_name ]
51+ modules = [ module for module in find_modules (package_name ) if ".devtools." not in module ]
52+ base_modules = [mod for mod in sorted ({ module .rsplit ("." , 1 )[0 ] for module in modules } ) if mod != package_name ]
5253 print ("found sections:" )
5354 for base_module in base_modules :
5455 print (f" { base_module } " )
You can’t perform that action at this time.
0 commit comments