Skip to content

Commit 191abd1

Browse files
committed
Update install process
1 parent f3c9076 commit 191abd1

File tree

2 files changed

+13
-23
lines changed

2 files changed

+13
-23
lines changed

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
sys.path.append(os.path.join(HERE, '..'))
2323

2424
import tagging
25+
import sphinx_rtd_theme
2526

27+
html_theme = "sphinx_rtd_theme"
28+
29+
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
2630
# -- General configuration ------------------------------------------------
2731

2832
# If your documentation needs a minimal Sphinx version, state it here.
@@ -117,7 +121,7 @@
117121

118122
# The theme to use for HTML and HTML Help pages. See the documentation for
119123
# a list of builtin themes.
120-
html_theme = 'default'
124+
#html_theme = 'default'
121125

122126
# Theme options are theme-specific and customize the look and feel of a theme
123127
# further. For a list of options available for each theme, see the

docs/index.rst

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ retrieval of tags simple.
1111
.. toctree::
1212
:maxdepth: 3
1313

14-
Indices and tables
15-
==================
16-
17-
* :ref:`genindex`
18-
* :ref:`modindex`
19-
* :ref:`search`
20-
21-
2214
Installation
2315
============
2416

@@ -31,21 +23,16 @@ https://pypi.python.org/pypi/django-tagging/
3123
Source distribution
3224
~~~~~~~~~~~~~~~~~~~
3325

34-
Download the .zip distribution file and unpack it. Inside is a script
26+
Download the a distribution file and unpack it. Inside is a script
3527
named ``setup.py``. Enter this command::
3628

37-
python setup.py install
29+
$ python setup.py install
3830

3931
...and the package will install automatically.
4032

41-
Windows installer
42-
~~~~~~~~~~~~~~~~~
43-
44-
A Windows installer is also made available - download the .exe
45-
distribution file and launch it to install the application.
33+
More easily with :program:`pip`::
4634

47-
An uninstaller will also be created, accessible through Add/Remove
48-
Programs in your Control Panel.
35+
$ pip install django-tagging
4936

5037
Installing the development version
5138
----------------------------------
@@ -66,8 +53,8 @@ You can verify that the application is available on your PYTHONPATH by
6653
opening a Python interpreter and entering the following commands::
6754

6855
>>> import tagging
69-
>>> tagging.VERSION
70-
(0, 3, 4, 'final', 0)
56+
>>> tagging.__version__
57+
0.4.dev0
7158

7259
When you want to update your copy of the Django Tagging source code, run
7360
the command ``git pull`` from within the ``django-tagging`` directory.
@@ -91,14 +78,13 @@ Once you've installed Django Tagging and want to use it in your Django
9178
applications, do the following:
9279

9380
1. Put ``'tagging'`` in your ``INSTALLED_APPS`` setting.
94-
2. Run the command ``manage.py syncdb``.
81+
2. Run the command ``manage.py migrate``.
9582

96-
The ``syncdb`` command creates the necessary database tables and
83+
The ``migrate`` command creates the necessary database tables and
9784
creates permission objects for all installed apps that need them.
9885

9986
That's it!
10087

101-
10288
Settings
10389
========
10490

0 commit comments

Comments
 (0)