mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
Import and add in-progress release notes. (#1416)
- fixes #1155 - add in-progress release notes import to the import_release_notes task
This commit is contained in:
@@ -533,6 +533,10 @@ MINIMUM_BOOST_VERSION = "1.16.1"
|
||||
# The highest Boost version with its docs stored in S3
|
||||
MAXIMUM_BOOST_DOCS_VERSION = "boost-1.30.2"
|
||||
|
||||
# In Progress Release Notes URL
|
||||
RELEASE_NOTES_IN_PROGRESS_URL = "https://raw.githubusercontent.com/boostorg/website/master/users/history/in_progress.html"
|
||||
RELEASE_NOTES_IN_PROGRESS_CACHE_KEY = "release-notes-in-progress"
|
||||
|
||||
# Boost Google Calendar
|
||||
BOOST_CALENDAR = "5rorfm42nvmpt77ac0vult9iig@group.calendar.google.com"
|
||||
CALENDAR_API_KEY = env("CALENDAR_API_KEY", default="changeme")
|
||||
|
||||
@@ -70,7 +70,7 @@ from users.views import (
|
||||
)
|
||||
from versions.api import ImportVersionsView, VersionViewSet
|
||||
from versions.feeds import AtomVersionFeed, RSSVersionFeed
|
||||
from versions.views import VersionDetail
|
||||
from versions.views import InProgressReleaseNotesView, VersionDetail
|
||||
|
||||
router = routers.SimpleRouter()
|
||||
|
||||
@@ -135,6 +135,11 @@ urlpatterns = (
|
||||
path("calendar/", CalendarView.as_view(), name="calendar"),
|
||||
# Boost versions views
|
||||
path("releases/", VersionDetail.as_view(), name="releases-most-recent"),
|
||||
path(
|
||||
"releases/boost-in-progress/",
|
||||
InProgressReleaseNotesView.as_view(),
|
||||
name="release-in-progress",
|
||||
),
|
||||
path("releases/<slug:slug>/", VersionDetail.as_view(), name="release-detail"),
|
||||
path(
|
||||
"donate/",
|
||||
|
||||
Reference in New Issue
Block a user