1- const latestVersion = "1.9.3"
1+ const latestVersion = "1.9.3" ;
22
3- module . exports = {
3+ module . exports = {
44 // Main website options
55 title : "GAMA Platform" ,
66 tagline : "GAMA" ,
77 url : "https://gama-platform.org" ,
88 baseUrl : "/" ,
99 favicon : "img/gama-logo.png" ,
10- titleDelimiter : '|' ,
10+ titleDelimiter : "|" ,
1111
1212 // Compilation/deploy options
1313 organizationName : "gama-platform" ,
@@ -19,19 +19,18 @@ module.exports={
1919 trailingSlash : false ,
2020
2121 // Adding in header
22- stylesheets : [
23- "https://use.fontawesome.com/releases/v6.1.1/css/all.css" ,
24- ] ,
22+ stylesheets : [ "https://use.fontawesome.com/releases/v6.1.1/css/all.css" ] ,
2523
2624 // Custom variables in page
2725 customFields : {
28- footerIcon : ' img/gama-logo.png' ,
26+ footerIcon : " img/gama-logo.png" ,
2927 docsUrl : "wiki" ,
30- zipName : "GAMA_" + latestVersion ,
28+ zipName : "GAMA_" + latestVersion ,
3129 downloadVersion : latestVersion ,
3230 facebookAppId : 524881055001796 ,
33- frontPagePresentation : "GAMA is a modeling and simulation development environment for building spatially explicit agent-based simulations." ,
34- frontPageImgLink : "release"
31+ frontPagePresentation :
32+ "GAMA is a modeling and simulation development environment for building spatially explicit agent-based simulations." ,
33+ frontPageImgLink : "release" ,
3534 } ,
3635
3736 /*
@@ -45,9 +44,10 @@ module.exports={
4544 showLastUpdateAuthor : false ,
4645 showLastUpdateTime : false ,
4746 path : "../docs" ,
48- routeBasePath : ' wiki' ,
47+ routeBasePath : " wiki" ,
4948 sidebarPath : "../website/sidebars.json" ,
50- editUrl : ( { docPath} ) => `https://github.com/gama-platform/gama/wiki/${ docPath . slice ( 0 , - 3 ) } /_edit` ,
49+ editUrl : ( { docPath } ) =>
50+ `https://github.com/gama-platform/gama/wiki/${ docPath . slice ( 0 , - 3 ) } /_edit` ,
5151 editCurrentVersion : true ,
5252
5353 // Version dropdown options
@@ -64,40 +64,40 @@ module.exports={
6464 },*/
6565 versions : {
6666 current : {
67- label : '🚧 2024-06 🚧' ,
67+ label : "🚧 Alpha 🚧" ,
6868 } ,
6969 } ,
7070 } ,
7171 theme : {
72- customCss : "./src/css/customTheme.css"
73- }
74- }
75- ]
72+ customCss : "./src/css/customTheme.css" ,
73+ } ,
74+ } ,
75+ ] ,
7676 ] ,
7777 themeConfig : {
7878 announcementBar : {
7979 // Change the ID for new announcement
80- id : 'releaseGama193' ,
81- content : '🎉 <strong>GAMA Platform 1.9.3 is out!!</strong> 🎉 <a href="/download"><u>Download it now</u></a> and check <a href="/wiki/Changelog"><u>the changelog</u></a>!! 🎉' ,
82- backgroundColor : '#34709f' ,
83- textColor : '#e3e3e3' ,
80+ id : "releaseGama193" ,
81+ content :
82+ '🎉 <strong>GAMA Platform 1.9.3 is out!!</strong> 🎉 <a href="/download"><u>Download it now</u></a> and check <a href="/wiki/Changelog"><u>the changelog</u></a>!! 🎉' ,
83+ backgroundColor : "#34709f" ,
84+ textColor : "#e3e3e3" ,
8485 isCloseable : true ,
8586 } ,
8687 colorMode : {
8788 respectPrefersColorScheme : true ,
8889 } ,
8990 prism : {
90- additionalLanguages : [ 'java' , 'javascript' , 'python' ] ,
91- defaultLanguage : 'gaml' ,
92-
93- theme : require ( 'prism-gaml/themes/light' ) ,
94- darkTheme : require ( 'prism-gaml/themes/dark' ) ,
91+ additionalLanguages : [ "java" , "javascript" , "python" ] ,
92+ defaultLanguage : "gaml" ,
9593
94+ theme : require ( "prism-gaml/themes/light" ) ,
95+ darkTheme : require ( "prism-gaml/themes/dark" ) ,
9696 } ,
9797 algolia : {
98- appId : ' MWUOLTL2EG' ,
99- apiKey : ' 1521937a1a954de39ac48917e384bfd6' ,
100- indexName : ' gama-platform' ,
98+ appId : " MWUOLTL2EG" ,
99+ apiKey : " 1521937a1a954de39ac48917e384bfd6" ,
100+ indexName : " gama-platform" ,
101101 contextualSearch : true ,
102102 } ,
103103 /*codeblock: {
@@ -114,33 +114,33 @@ module.exports={
114114 navbar : {
115115 title : "GAMA Platform" ,
116116 logo : {
117- src : "img/gama-logo.png"
117+ src : "img/gama-logo.png" ,
118118 } ,
119119 // Navigator bar
120120 items : [
121121 // Left side
122122 {
123- type : ' doc' ,
123+ type : " doc" ,
124124 docId : "Home" ,
125125 label : "Documentation" ,
126- position : "left"
126+ position : "left" ,
127127 } ,
128128 {
129- type : ' doc' ,
129+ type : " doc" ,
130130 docId : "Tutorials" ,
131131 label : "Tutorials" ,
132- position : "left"
132+ position : "left" ,
133133 } ,
134134 {
135- type : ' doc' ,
135+ type : " doc" ,
136136 docId : "Community" ,
137137 label : "Community" ,
138- position : "left"
138+ position : "left" ,
139139 } ,
140140 {
141141 to : "/download" ,
142142 label : "Download" ,
143- position : "left"
143+ position : "left" ,
144144 } ,
145145
146146 // Right Side
@@ -152,38 +152,38 @@ module.exports={
152152 dropdownActiveClassDisabled: false,
153153 },*/
154154 {
155- href : ' https://github.com/gama-platform/gama' ,
155+ href : " https://github.com/gama-platform/gama" ,
156156 html : '<i class="fab fa-github" style="font-size: 24px;"></i>' ,
157157 //label: 'GitHub repository',
158- position : ' right' ,
159- }
160- ]
158+ position : " right" ,
159+ } ,
160+ ] ,
161161 } ,
162162 image : "/resources/images/general/GamaPlatform.png" ,
163163 footer : {
164164 links : [
165165 {
166- title : ' Community' ,
166+ title : " Community" ,
167167 items : [
168168 {
169- html : '<a class="footer__link-item" href="https://github.com/gama-platform" target="_blank" rel="noopener noreferrer"><i class="fab fa-github"></i> Github <i class="fa fa-arrow-up-right-from-square"></i></a>'
169+ html : '<a class="footer__link-item" href="https://github.com/gama-platform" target="_blank" rel="noopener noreferrer"><i class="fab fa-github"></i> Github <i class="fa fa-arrow-up-right-from-square"></i></a>' ,
170170 } ,
171171 {
172- html : '<a class="footer__link-item" href="https://www.facebook.com/GamaPlatform/" target="_blank" rel="noopener noreferrer"><i class="fab fa-facebook"></i> Facebook <i class="fa fa-arrow-up-right-from-square"></i></a>'
172+ html : '<a class="footer__link-item" href="https://www.facebook.com/GamaPlatform/" target="_blank" rel="noopener noreferrer"><i class="fab fa-facebook"></i> Facebook <i class="fa fa-arrow-up-right-from-square"></i></a>' ,
173173 } ,
174174 /*{
175175 html: '<a class="footer__link-item" href="https://twitter.com/gamaplatform" target="_blank" rel="noopener noreferrer"><i class="fab fa-twitter"></i> Twitter <i class="fa fa-arrow-up-right-from-square"></i></a>'
176176 },*/
177177 {
178- html : '<a class="footer__link-item" href="https://www.linkedin.com/company/gama-platform" target="_blank" rel="noopener noreferrer"><i class="fab fa-linkedin"></i> LinkedIn <i class="fa fa-arrow-up-right-from-square"></i></a>'
178+ html : '<a class="footer__link-item" href="https://www.linkedin.com/company/gama-platform" target="_blank" rel="noopener noreferrer"><i class="fab fa-linkedin"></i> LinkedIn <i class="fa fa-arrow-up-right-from-square"></i></a>' ,
179179 } ,
180180 {
181- html : '<a class="footer__link-item" href="https://www.youtube.com/channel/UCWJ1kWGDDI-9u2f2uD0gcaQ" target="_blank" rel="noopener noreferrer"><i class="fab fa-youtube"></i> Youtube <i class="fa fa-arrow-up-right-from-square"></i></a>'
182- }
181+ html : '<a class="footer__link-item" href="https://www.youtube.com/channel/UCWJ1kWGDDI-9u2f2uD0gcaQ" target="_blank" rel="noopener noreferrer"><i class="fab fa-youtube"></i> Youtube <i class="fa fa-arrow-up-right-from-square"></i></a>' ,
182+ } ,
183183 ] ,
184184 } ,
185185 {
186- title : ' Mailing list' ,
186+ title : " Mailing list" ,
187187 items : [
188188 {
189189 html : '<a class="footer__link-item" href="https://groups.google.com/forum/#!forum/gama-platform" target="_blank"><i class="fas fa-envelope"></i> For Users<br>gama-platform@googlegroups.com</a>' ,
@@ -194,7 +194,7 @@ module.exports={
194194 ] ,
195195 } ,
196196 {
197- title : ' Licence' ,
197+ title : " Licence" ,
198198 items : [
199199 {
200200 html : `
@@ -207,39 +207,40 @@ module.exports={
207207 html : `
208208 <p>A copy of the license is included <a href="https://github.com/gama-platform/gama/wiki/LICENSE.md" style="display:initial">here</a>, in the repository of the wiki content.</p>
209209 ` ,
210- }
210+ } ,
211211 ] ,
212- }
212+ } ,
213213 ] ,
214214 copyright : `Copyright (C) - ${ new Date ( ) . getFullYear ( ) } GAMA Platform.` ,
215215 logo : {
216- src : "img/gama-logo.png"
217- }
218- }
216+ src : "img/gama-logo.png" ,
217+ } ,
218+ } ,
219219 } ,
220220 //themes: ['docusaurus-theme-github-codeblock'],
221- themes : [
222- '@saucelabs/theme-github-codeblock'
223- ] ,
221+ themes : [ "@saucelabs/theme-github-codeblock" ] ,
224222 /*
225223 * PLUGINS
226224 */
227225 plugins : [
228226 [
229- ' @docusaurus/plugin-client-redirects' ,
227+ " @docusaurus/plugin-client-redirects" ,
230228 {
231229 redirects : [
232230 // Default wiki page
233- { from : ' /wiki/next' , to : ' /wiki/next/Home' , } ,
234- { from : ' /wiki' , to : ' /wiki/Home' , } ,
235- { from : ' /wiki/1.8.1' , to : ' /wiki/1.8.1/Home' , } ,
231+ { from : " /wiki/next" , to : " /wiki/next/Home" } ,
232+ { from : " /wiki" , to : " /wiki/Home" } ,
233+ { from : " /wiki/1.8.1" , to : " /wiki/1.8.1/Home" } ,
236234 // Debug
237- { from : '/wiki/next/Operators' , to : '/wiki/next/Exhaustive-list-of-GAMA-Keywords' , } ,
238- { from : '/wiki/next/Headless' , to : '/wiki/next/RunningHeadless' , } ,
235+ {
236+ from : "/wiki/next/Operators" ,
237+ to : "/wiki/next/Exhaustive-list-of-GAMA-Keywords" ,
238+ } ,
239+ { from : "/wiki/next/Headless" , to : "/wiki/next/RunningHeadless" } ,
239240 // External
240241 //{ from: '/Gama-Days-2022', to: '/gama.resources/conferences/Gama-Days-2022', },
241- ]
242- }
243- ]
242+ ] ,
243+ } ,
244+ ] ,
244245 ] ,
245- }
246+ } ;
0 commit comments