Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Article status to gracefully ignore the file #3304

Closed
3 tasks done
GiovanH opened this issue May 19, 2024 · 1 comment · Fixed by #3305
Closed
3 tasks done

Article status to gracefully ignore the file #3304

GiovanH opened this issue May 19, 2024 · 1 comment · Fixed by #3305

Comments

@GiovanH
Copy link
Contributor

GiovanH commented May 19, 2024

  • I have searched the issues (including closed ones) and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.
  • I am willing to lend a hand to help implement this feature.

Feature Request

Currently, there are only three valid statuses: 'published', 'hidden', and 'draft'. If an article has a status that isn't in that list, it is ignored completely and an error is reported. Otherwise, it is processed in some way and a file of some variety is output.

I would like to add a status, titled something like "ignored", that mimics the behavior of an invalid status (not publishing the file at all) but does not throw an error at runtime.

There are some files that I want to work on in my drafts, but are sensitive enough that I don't want the files published at all, even unlisted, so I currently use "invalid statuses" to prevent this, but it's a hacky solution. Looking at the documentation, it seems the only metadata configuration that results in the "skip" behavior I want is an invalid status.

GiovanH added a commit to GiovanH/pelican that referenced this issue May 19, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue May 19, 2024
@GeorgeHu6
Copy link
Contributor

Actually, it will be a nice enhancement! I have exactly a need for such a status recently. :)

GiovanH added a commit to GiovanH/pelican that referenced this issue Jun 30, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jun 30, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jun 30, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jun 30, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jun 30, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jul 2, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jul 2, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jul 2, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jul 4, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jul 4, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jul 27, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jul 27, 2024
GiovanH added a commit to GiovanH/pelican that referenced this issue Jul 27, 2024
justinmayer pushed a commit that referenced this issue Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants