portaljs icon indicating copy to clipboard operation
portaljs copied to clipboard

option to include/exclude content from publishing

Open Iwuaa opened this issue 1 year ago • 2 comments

Vault is currently published as a whole, config options contentExclude, contentInclude are ignored

  // add any folders/files to be excluded from being published
  contentExclude: ['folder1/'],

  // if any folders/files included, then nothing else will be published by default
  contentInclude: ['folder2/*'],

Iwuaa avatar Jun 17 '24 14:06 Iwuaa

@Iwuaa thanks for reporting. To confirm this in the cloud version?

rufuspollock avatar Jun 18 '24 12:06 rufuspollock

@lwuaa confirming - is this the cloud version?

rufuspollock avatar Jun 26 '24 13:06 rufuspollock

@olayway another one that overlaps with what we already have in Flowershow.

rufuspollock avatar Jul 10 '24 20:07 rufuspollock

Marking as blocked for now until we shape #1151

olayway avatar Jul 11 '24 12:07 olayway

@Iwuaa Temporary workaround (if this is indeed DataHub Cloud) you could just add paths you don't want to be pushed to the repository by adding them to .gitignore file. https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

olayway avatar Jul 11 '24 12:07 olayway

FIXED

@Iwuaa you should now be able to include/exclude files from publishing using contentInclude and contentExclude fields in the config file. Docs reference page coming soon.

olayway avatar Aug 19 '24 12:08 olayway

@olayway sorry for delayed response, I wasn't notified of you mentioning me. I'm not sure what is the cloud version and I'm not familiar with all your projects - I have my local obsidian vault, I copied flowershow repository as per the instructions here, so Vercel deploys my website.

I'm not sure how any changes you make are affecting my cloned repository, if it should be updated or if it should work as is. Do I need to use your cloud version in order for it to work? This is very confusing.

Iwuaa avatar Aug 19 '24 20:08 Iwuaa