Skip to content

Fixed a couple of typos on the wiki. #397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion addons/source-python/docs/source-python/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import sys
import os
import shlex
from datetime import date

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

# General information about the project.
project = ' Source.Python'
copyright = '2018, Source.Python Development Team'
copyright = f'{date.today().year}, Source.Python Development Team'
author = ' Source.Python Development Team'

# The version info for the project you're documenting, acts as replacement for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Once you have installed the requirements, follow these steps to build Source.Pyt
By default only one CPU core is used to build the binaries. If you wish to
use more, set the variable ``NUM_CORES`` to the number of core you would
like to use. This will speed up the build process, but also requires more
ressoures.
resources.

You can shorten these steps by simply passing the game's name to the script
e.g. ``./Build.sh css``.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1593,12 +1593,16 @@ avenger_id The userid of the player that killed their teammate's killer.

player_blind
------------

====== ==================================================== =======
Name Description Type
====== ==================================================== =======
userid short
====== ==================================================== =======
This event is fired when a player gets flashed.

============== ================================================== =====
Name Description Type
============== ================================================== =====
userid The userid of the player that got flashed. short
attacker The userid of the player that threw the flashbang. short
entityid The entity index of the flashbang that went off. short
blind_duration Duration of the flashed effect. float
============== ================================================== =====


player_changename
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ have to create the plugin files.
To do so, please create a directory in Source.Python's plugin directory
(``../addons/source-python/plugins``). All plugins will be located in this
directory and must have their own sub-directory. Give the new created
directory an abitrary name (e.g. test1). Now, you need to create the actual
directory an arbitrary name (e.g. test1). Now, you need to create the actual
plugin file. It must be named like its directory. So, if you have created a
``test1`` directory, you have to create a ``test1.py`` in that directory.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ file exists, etc.) have been done at this point.
OnPluginUnloaded
----------------

Called when a plugin has been unloaded sucessfully.
Called when a plugin has been unloaded successfully.

.. code-block:: python

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Adding sub-plugins

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

Imagine your plugin resides in ``../addons/source-python/plugins/my_plugin``
and within that directory you have created a new directory called ``plugins``,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ us, because it helps to improve Source.Python. We prefer bugs to be reported via

When reporting a bug, please consider the following points:

1. Precisly describe your problem.
1. Precisely describe your problem.
2. Provide the output of the server command ``sp info``.
3. Post your SP log file.
4. If your server crashes, add ``-debug`` to your command line and post the resulting ``debug.log``.
Expand Down
8 changes: 4 additions & 4 deletions addons/source-python/docs/source-python/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Source.Python is an open-source project that uses Boost.Python to allow
scripters to interact with Valve's Source-engine. In this wiki, you will find
documentation on how to install, update, and use Source.Python. If you have
any questions, please search for an answer on our
`forums <http://www.sourcepython.com/forum.php>`_. If you cannot find the
`forums <https://forums.sourcepython.com/>`_. If you cannot find the
answer to your question, please post a question of your own in the appropriate
forum.

Expand Down Expand Up @@ -67,9 +67,9 @@ Other helpful links
-------------------
* Source.Python

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

* Python 3

Expand Down