Skip to content

Commit

Permalink
Minor docs cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf committed Jan 22, 2020
1 parent 9c4df93 commit 6dbf8b5
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
const user = "cmfcmf";
const repo = "OpenWeatherMap-PHP-API";
const project = "OpenWeatherMap-PHP-API";
const githubUserUrl = `https://github.com/${user}`;
const githubUrl = `${githubUserUrl}/${repo}`;
const githubUrl = `${githubUserUrl}/${project}`;

const title = project.replace(/-/g, " ");

module.exports = {
title: 'OpenWeatherMap PHP API',
title: title,
tagline: 'A PHP API to parse weather data and weather history from OpenWeatherMap.org.',
url: 'https://christianflach.de',
baseUrl: '/OpenWeatherMap-PHP-API/',
baseUrl: `/${project}/`,
favicon: 'img/favicon.ico',
organizationName: 'cmfcmf', // Usually your GitHub org/user name.
projectName: 'OpenWeatherMap-PHP-API', // Usually your repo name.
organizationName: user, // Usually your GitHub org/user name.
projectName: project, // Usually your repo name.
themeConfig: {
navbar: {
title: 'OpenWeatherMap PHP API',
title: title,
logo: {
alt: 'Sun Logo',
src: 'img/logo.svg',
Expand Down Expand Up @@ -73,7 +75,7 @@ module.exports = {
},
{
label: 'Privacy / Datenschutz',
href: 'https://cmfcmf.github.io/about'
href: `https://${user}.github.io/about`
}
],
},
Expand Down

0 comments on commit 6dbf8b5

Please sign in to comment.