Skip to content

Commit f778975

Browse files
authored
Fixed a couple of typos on the wiki. (#397)
1 parent 78af26a commit f778975

File tree

8 files changed

+21
-16
lines changed

8 files changed

+21
-16
lines changed

addons/source-python/docs/source-python/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import sys
1717
import os
1818
import shlex
19+
from datetime import date
1920

2021
# If extensions (or modules to document with autodoc) are in another directory,
2122
# add these directories to sys.path here. If the directory is relative to the
@@ -53,7 +54,7 @@
5354

5455
# General information about the project.
5556
project = ' Source.Python'
56-
copyright = '2018, Source.Python Development Team'
57+
copyright = f'{date.today().year}, Source.Python Development Team'
5758
author = ' Source.Python Development Team'
5859

5960
# The version info for the project you're documenting, acts as replacement for

addons/source-python/docs/source-python/source/contributing/building.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Once you have installed the requirements, follow these steps to build Source.Pyt
2929
By default only one CPU core is used to build the binaries. If you wish to
3030
use more, set the variable ``NUM_CORES`` to the number of core you would
3131
like to use. This will speed up the build process, but also requires more
32-
ressoures.
32+
resources.
3333

3434
You can shorten these steps by simply passing the game's name to the script
3535
e.g. ``./Build.sh css``.

addons/source-python/docs/source-python/source/developing/events/csgo.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,12 +1593,16 @@ avenger_id The userid of the player that killed their teammate's killer.
15931593

15941594
player_blind
15951595
------------
1596-
1597-
====== ==================================================== =======
1598-
Name Description Type
1599-
====== ==================================================== =======
1600-
userid short
1601-
====== ==================================================== =======
1596+
This event is fired when a player gets flashed.
1597+
1598+
============== ================================================== =====
1599+
Name Description Type
1600+
============== ================================================== =====
1601+
userid The userid of the player that got flashed. short
1602+
attacker The userid of the player that threw the flashbang. short
1603+
entityid The entity index of the flashbang that went off. short
1604+
blind_duration Duration of the flashed effect. float
1605+
============== ================================================== =====
16021606

16031607

16041608
player_changename

addons/source-python/docs/source-python/source/developing/getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ have to create the plugin files.
2020
To do so, please create a directory in Source.Python's plugin directory
2121
(``../addons/source-python/plugins``). All plugins will be located in this
2222
directory and must have their own sub-directory. Give the new created
23-
directory an abitrary name (e.g. test1). Now, you need to create the actual
23+
directory an arbitrary name (e.g. test1). Now, you need to create the actual
2424
plugin file. It must be named like its directory. So, if you have created a
2525
``test1`` directory, you have to create a ``test1.py`` in that directory.
2626

addons/source-python/docs/source-python/source/developing/module_tutorials/listeners.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ file exists, etc.) have been done at this point.
452452
OnPluginUnloaded
453453
----------------
454454

455-
Called when a plugin has been unloaded sucessfully.
455+
Called when a plugin has been unloaded successfully.
456456

457457
.. code-block:: python
458458

addons/source-python/docs/source-python/source/developing/module_tutorials/plugins.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Adding sub-plugins
158158

159159
Adding sub-plugins to your plugin is done a very few steps. All you actually
160160
need is a new instance of the :class:`plugins.manager.PluginManager` class.
161-
This instance allows you to load plugins from a specifc directory.
161+
This instance allows you to load plugins from a specific directory.
162162

163163
Imagine your plugin resides in ``../addons/source-python/plugins/my_plugin``
164164
and within that directory you have created a new directory called ``plugins``,

addons/source-python/docs/source-python/source/general/reporting-a-bug.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ us, because it helps to improve Source.Python. We prefer bugs to be reported via
77

88
When reporting a bug, please consider the following points:
99

10-
1. Precisly describe your problem.
10+
1. Precisely describe your problem.
1111
2. Provide the output of the server command ``sp info``.
1212
3. Post your SP log file.
1313
4. If your server crashes, add ``-debug`` to your command line and post the resulting ``debug.log``.

addons/source-python/docs/source-python/source/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Source.Python is an open-source project that uses Boost.Python to allow
77
scripters to interact with Valve's Source-engine. In this wiki, you will find
88
documentation on how to install, update, and use Source.Python. If you have
99
any questions, please search for an answer on our
10-
`forums <http://www.sourcepython.com/forum.php>`_. If you cannot find the
10+
`forums <https://forums.sourcepython.com/>`_. If you cannot find the
1111
answer to your question, please post a question of your own in the appropriate
1212
forum.
1313

@@ -67,9 +67,9 @@ Other helpful links
6767
-------------------
6868
* Source.Python
6969

70-
* `Source.Python forums <http://forums.sourcepython.com/>`_
71-
* `Source.Python repository <http://github.com/Source-Python-Dev-Team/Source.Python/>`_
72-
* `Source.Python issue list <http://github.com/Source-Python-Dev-Team/Source.Python/issues>`_
70+
* `Source.Python forums <https://forums.sourcepython.com//>`_
71+
* `Source.Python repository <https://github.com/Source-Python-Dev-Team/Source.Python/>`_
72+
* `Source.Python issue list <https://github.com/Source-Python-Dev-Team/Source.Python/issues>`_
7373

7474
* Python 3
7575

0 commit comments

Comments
 (0)