From d50c88cf87e1e0074a94b404210adbb114b4b085 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Mon, 28 Oct 2024 19:54:01 +0000 Subject: [PATCH] Move pelican config to the project root Change-Id: I332c8cc50a75c7691ea887ced0acc89b3e71c7d6 --- .github/workflows/pelican.yml | 3 --- README.md | 1 - website/pelicanconf.py => pelicanconf.py | 4 ++-- website/publishconf.py => publishconf.py | 0 4 files changed, 2 insertions(+), 6 deletions(-) rename website/pelicanconf.py => pelicanconf.py (95%) rename website/publishconf.py => publishconf.py (100%) diff --git a/.github/workflows/pelican.yml b/.github/workflows/pelican.yml index cff4a0b5..edb659d8 100644 --- a/.github/workflows/pelican.yml +++ b/.github/workflows/pelican.yml @@ -3,9 +3,6 @@ on: push: branches: ["master"] workflow_dispatch: -defaults: - run: - working-directory: "website" jobs: deploy: uses: "getpelican/pelican/.github/workflows/github_pages.yml@main" diff --git a/README.md b/README.md index 36f95171..a24872a5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Add .rst file to the website/content/ folder and run git review. Test locally using: ```sh -cd website pelican content ``` diff --git a/website/pelicanconf.py b/pelicanconf.py similarity index 95% rename from website/pelicanconf.py rename to pelicanconf.py index 807018cb..d14f8513 100644 --- a/website/pelicanconf.py +++ b/pelicanconf.py @@ -6,8 +6,8 @@ SITENAME = u'Software Factory' SITEURL = 'https://www.softwarefactory-project.io' -PATH = 'content' -THEME = 'themes/pelican-bootstrap3' +PATH = 'website/content' +THEME = 'website/themes/pelican-bootstrap3' SITELOGO = 'images/SoftwareFactory-logo.svg' SITELOGO_SIZE = '20px' BOOTSTRAP_NAVBAR_INVERSE = 'True' diff --git a/website/publishconf.py b/publishconf.py similarity index 100% rename from website/publishconf.py rename to publishconf.py