File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ const editUrl = {
8
8
editUrl : "https://github.com/conda-forge/conda-forge.github.io/tree/main/" ,
9
9
} ;
10
10
11
+ var copyright = `Copyright © ${ new Date ( ) . getFullYear ( ) } conda-forge · Built with Docusaurus` ;
12
+ if ( process . env . NETLIFY ) {
13
+ copyright += ` · Deployed on <a href="https://www.netlify.com/" target="_blank">Netlify</a>` ;
14
+ }
15
+
11
16
/** @type {import('@docusaurus/types').Config } */
12
17
const config = {
13
18
title : "conda-forge | community-driven packaging for conda" ,
@@ -360,7 +365,7 @@ const config = {
360
365
] ,
361
366
} ,
362
367
] ,
363
- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } conda-forge · Built with Docusaurus` ,
368
+ copyright : copyright ,
364
369
} ,
365
370
prism : {
366
371
theme : lightCodeTheme ,
Original file line number Diff line number Diff line change
1
+ [build ]
2
+ # Directory (relative to root of your repo) that contains the deploy-ready
3
+ # HTML files and assets generated by the build. If a base directory has
4
+ # been specified, include it in the publish directory path.
5
+ publish = " build"
6
+
7
+ # Default build command.
8
+ command = """
9
+ curl -L -o miniforge.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh &&
10
+ bash miniforge.sh -bfp ~/miniforge &&
11
+ rm -rf miniforge.sh &&
12
+ source ~/miniforge/etc/profile.d/conda.sh &&
13
+ conda env create -f .ci_scripts/environment.yml &&
14
+ conda activate conda-forge-docs &&
15
+ ./.ci_scripts/update_docs
16
+ """
17
+
18
+ # We only want to build PR previews.
19
+ # Exit code == 0 means that the build is ignored.
20
+ ignore = ' test "$PULL_REQUEST" == "false"'
You can’t perform that action at this time.
0 commit comments