Skip to content

Commit 39ef235

Browse files
authored
Merge pull request #2057 from jaimergp/migrate-news
Migrate announcements page to `news/`
2 parents 77bb241 + 73e1900 commit 39ef235

File tree

74 files changed

+803
-1515
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+803
-1515
lines changed

.ci_scripts/update_docs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ if [[ "$CI" == "1" ]]; then
99
git checkout -b new_site_content
1010
fi
1111

12-
13-
pushd sphinx/newsfeed
14-
pip install --no-deps .
15-
popd
16-
1712
python .ci_scripts/generate_cfep_index.py
1813

1914
pushd sphinx/src
@@ -39,3 +34,7 @@ popd
3934
# Build docusaurus site
4035
npm install
4136
npm run build
37+
38+
# Serve the announcements RSS feed in this old location too
39+
# we can't redirect with the Docusaurus plugin, so just copy it
40+
cp build/news/rss.xml build/docs/news.rss

docusaurus.config.js

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,19 @@ const config = {
7878
// breadcrumbs: false,
7979
// }),
8080
// ],
81-
// [
82-
// "content-blog",
83-
// /** @type {import('@docusaurus/plugin-content-blog').Options} */
84-
// ({
85-
// id: "news",
86-
// path: "news",
87-
// routeBasePath: "/docs/user/announcements.html",
88-
// showReadingTime: false,
89-
// blogSidebarTitle: "Latest news",
90-
// blogSidebarCount: 20,
91-
// }),
92-
// ],
81+
[
82+
"content-blog",
83+
/** @type {import('@docusaurus/plugin-content-blog').Options} */
84+
{
85+
id: "news",
86+
path: "./news",
87+
routeBasePath: "news",
88+
showReadingTime: false,
89+
blogSidebarTitle: "Latest announcements",
90+
blogSidebarCount: 10, /* This can be set to 'ALL' if needed */
91+
postsPerPage: 10, /* This can be set to 'ALL' if needed */
92+
},
93+
],
9394
[
9495
"@docusaurus/plugin-client-redirects",
9596
{
@@ -187,6 +188,10 @@ const config = {
187188
from: "/blog/posts/2023-07-13-installer-security-fixes/",
188189
to: "/blog/2023/07/13/installer-security-fixes/",
189190
},
191+
{
192+
from: "/docs/user/announcements.html",
193+
to: "/announcements/",
194+
},
190195
],
191196
},
192197
],
@@ -208,7 +213,7 @@ const config = {
208213
position: "left",
209214
},
210215
{
211-
to: "pathname:///docs/user/announcements.html",
216+
to: "/news/",
212217
label: "News",
213218
position: "left",
214219
},
@@ -305,11 +310,11 @@ const config = {
305310
items: [
306311
{
307312
label: "News",
308-
to: "pathname:///docs/user/announcements.html",
313+
to: "/news/archive/",
309314
},
310315
{
311316
label: "Blog",
312-
to: "/blog/",
317+
to: "/blog/archive/",
313318
},
314319
{
315320
label: "Status",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Conda forge now has a magical status bar for tracking the progress of migrations.
2+
3+
You can find this at
4+
[conda-forge.org/status](https://conda-forge.org/status).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# The compiler migration is in full swing.
2+
3+
The bot will be making the rounds and modernizing more than 4000
4+
packages. This is going to take a few months to get done so bear with
5+
us.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# A minimal python 3.7 build is now available across all platforms and both compilers!
2+
3+
Yay!
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Deprecation notice for Python 3.5
2+
3+
As we start building out more of the Python 3.7 stack, we will no longer
4+
be building Python 3.5 packages.
5+
No new python 3.5 packages will be built after 2018-10-01.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# The rebuild is moving along nicely with almost a third of the packages completed.
2+
3+
Recently completed are NumPy and Openblas which should open up much of
4+
the python numeric stack. We're only about 5 feedstocks away from
5+
opening up all of R as well.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# It has happened! Conda-forge has migrated to the latest compilers 🎉.
2+
3+
If you:
4+
5+
- maintain a compiled feedstock, it will likely need to be
6+
rerender
7+
- need to roll back to the old compilers, you can use the
8+
"cf201901" label.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# We overhauled the blas support in conda-forge.
2+
3+
- Our packages now build against NETLIB’s reference implementation.
4+
- You as a user can now choose the implementation available at runtime.
5+
For more information please refer to the [documentation](pathname:///docs/maintainer/knowledge_base.html#knowledge-blas).
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Clang 9.0.0 and gfortran 7.3.0 as default compilers in OSX
2+
3+
- If you maintain a feedstock that requires a C/C++ compiler, no
4+
changes necessary. A rerender should be done next time the feedstock is
5+
updated to use the new compiler.
6+
- If you maintain a feedstock with a
7+
Fortran compiler, a PR to upgrade to gfortran 7.3.0 was already issued.
8+
If that PR was merged, there's nothing to do. If not, contact core if
9+
you need help migrating.

0 commit comments

Comments
 (0)