Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix docs service and add RTD support #2920

Merged
merged 19 commits into from
Nov 4, 2020

Conversation

Andrew-Chen-Wang
Copy link
Contributor

@Andrew-Chen-Wang Andrew-Chen-Wang commented Nov 1, 2020

Fixes #2733
Closes #2878
Closes #2674

Supersedes #2754

Description

Fix docs service. Added DATABASE_URL environment variable inside conf.py to force django.setup() in both local and production environments to use a SQLite database. Also stays consistent with setting the other entrypoint env var, CELERY_BROKER_URL.

Checklist:

  • I've made sure that tests/test_cookiecutter_generation.py is updated accordingly (especially if adding or updating a template option)
  • I've updated the documentation or confirm that my change doesn't require any updates

Rationale

Fixes doc service and adds doc option for production.

@Andrew-Chen-Wang Andrew-Chen-Wang mentioned this pull request Nov 1, 2020
2 tasks
@Andrew-Chen-Wang
Copy link
Contributor Author

Sorry for the large number of commits. I must've messed up my git command or something.

Moving config inside of source fixed RTD, but broke the local setup. Move everything in docs source seems to be an easier fix
Copy link
Member

@browniebroke browniebroke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is now ready to merge, thanks for the effort @Andrew-Chen-Wang

@browniebroke browniebroke merged commit 72da0bf into cookiecutter:master Nov 4, 2020
@Andrew-Chen-Wang Andrew-Chen-Wang deleted the rtdocs branch November 4, 2020 17:59
@Andrew-Chen-Wang
Copy link
Contributor Author

Thanks for the review!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RTD Support
2 participants