Skip to content

Commit 8ace4ec

Browse files
committed
[py] Adding draft configuration for ReadTheDocs
1 parent cc3b395 commit 8ace4ec

4 files changed

Lines changed: 40 additions & 6 deletions

File tree

.readthedocs.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the OS, Python version and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.11"
13+
# You can also specify other tool versions:
14+
# nodejs: "19"
15+
# rust: "1.64"
16+
# golang: "1.19"
17+
18+
# Build documentation in the "docs/" directory with Sphinx
19+
sphinx:
20+
configuration: py/docs/conf.py
21+
22+
# Optionally build your docs in additional formats such as PDF and ePub
23+
# formats:
24+
# - pdf
25+
# - epub
26+
27+
# Optional but recommended, declare the Python requirements required
28+
# to build your documentation
29+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
30+
python:
31+
install:
32+
- requirements: py/docs/requirements.txt

py/docs/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Jinja2==3.0.3
2+
Sphinx==1.8.2

py/docs/source/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
# General information about the project.
5151
project = 'Selenium'
52-
copyright = '2011, plightbo, simon.m.stewart, hbchai, jrhuggins, et al.'
52+
copyright = '2009-2023 Software Freedom Conservancy'
5353

5454
# The version info for the project you're documenting, acts as replacement for
5555
# |version| and |release|, also used in various other places throughout the
@@ -228,9 +228,9 @@
228228

229229
# Bibliographic Dublin Core info.
230230
epub_title = 'Selenium'
231-
epub_author = 'plightbo, simon.m.stewart, hbchai, jrhuggins, et al.'
232-
epub_publisher = 'plightbo, simon.m.stewart, hbchai, jrhuggins, et al.'
233-
epub_copyright = '2011, plightbo, simon.m.stewart, hbchai, jrhuggins, et al.'
231+
epub_author = 'The Selenium Project'
232+
epub_publisher = 'The Selenium Project'
233+
epub_copyright = '2009-2023 Software Freedom Conservancy'
234234

235235
# The language of the text. It defaults to the language option
236236
# or en if the language is not set.

py/docs/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ Selenium Server (optional)
126126

127127
For normal WebDriver scripts (non-Remote), the Java server is not needed.
128128

129-
However, to use Selenium Webdriver Remote or the legacy Selenium API (Selenium-RC), you need to also run the Selenium server. The server requires a Java Runtime Environment (JRE).
129+
However, to use Selenium Webdriver Remote , you need to also run the Selenium server. The server requires a Java Runtime Environment (JRE).
130130

131131
Download the server separately, from: https://www.selenium.dev/downloads/
132132

133133
Run the server from the command line::
134134

135-
java -jar selenium-server-4.6.0.jar
135+
java -jar selenium-server-4.10.0.jar
136136

137137
Then run your Python client scripts.
138138

0 commit comments

Comments
 (0)