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
Review change of government docs #2160
Conversation
source/manual/howto-change-a-government-following-an-election.html.md
Outdated
Show resolved
Hide resolved
source/manual/howto-change-a-government-following-an-election.html.md
Outdated
Show resolved
Hide resolved
source/manual/howto-change-a-government-following-an-election.html.md
Outdated
Show resolved
Hide resolved
[PoliticalContentIdentifier][]. The `political` flag on an `Edition` | ||
can also be set manually. | ||
[PoliticalContentIdentifier][]. The `political` flag on an `Edition` can also | ||
be set manually. | ||
|
||
[PoliticalContentIdentifier]: https://github.com/alphagov/whitehall/blob/master/lib/political_content_identifier.rb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to:
Re-index political content in search
After the government has been closed, we need to re-index content in search. There is a rake task to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes... I've added a section about that.
8da29c2
to
0d41473
Compare
0d41473
to
6907bec
Compare
source/manual/howto-change-a-government-following-an-election.html.md
Outdated
Show resolved
Hide resolved
We no longer need to run a manual Rake task to republish all content since Whitehall links content to governments and we can let the Publishing API do the dependency resolution.
This allows the page to be found when searching for history mode in the developer docs.
6907bec
to
c3fb838
Compare
This makes sure that the documentation on change of governments are up to date, especially with our recent changes around representing governments in the Publishing API.
Trello Card