--
Ticket URL: <https://code.djangoproject.com/ticket/20469>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_docs: => 0
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Confirmed,
The particular links that 404 are:
https://docs.djangoproject.com/en/1.3/ref/views/
https://docs.djangoproject.com/en/1.3/ref/class-based-views/generic-date-
based/
--
Ticket URL: <https://code.djangoproject.com/ticket/20469#comment:1>
Comment (by svisser):
The link is also broken in the docs for Django 1.4 but no longer in the
docs for Django 1.5.
--
Ticket URL: <https://code.djangoproject.com/ticket/20469#comment:2>
* cc: bmispelon@… (added)
Comment:
The code used for building the docs can be found there:
https://github.com/django/djangoproject.com/blob/master/docs/management/commands/update_docs.py
I've searched a bit and can't find an obvious error that would lead to the
issue.
My current suspicion is that some `pyc` files aren't getting cleaned up
between successive builds, leading to nonexistent modules being included
in the modindex.
I will try and investigate further.
--
Ticket URL: <https://code.djangoproject.com/ticket/20469#comment:3>
Comment (by bmispelon):
I managed to reproduce the issue on a local install of djangoproject.com.
To fix it, I tried adding a `git clean -fdx` after that line:
https://github.com/django/djangoproject.com/blob/master/docs/management/commands/update_docs.py#L185.
Unfortunately that didn't change anything.
I did confirm however that the issue is not present if one only builds the
1.4 version of the doc (I tested this by deleting all the other "document
release" objects in the admin).
My conclusion is that something is leaking between the different builds,
but I can't figure out what it is.
--
Ticket URL: <https://code.djangoproject.com/ticket/20469#comment:4>
* component: Documentation => *.djangoproject.com
* type: Uncategorized => Bug
* easy: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/20469#comment:5>
* status: new => closed
* resolution: => fixed
Comment:
Fixed by
https://github.com/django/djangoproject.com/commit/e610d7bc74e7100561d648918bb83012d7fcd021
--
Ticket URL: <https://code.djangoproject.com/ticket/20469#comment:6>