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

Enable configurable Github folder <> Notion subpage URL mappings #13

Merged
merged 12 commits into from
Mar 29, 2024

Conversation

mgleave
Copy link
Contributor

@mgleave mgleave commented Mar 6, 2024

This feature addition enables the user to specify in setup.cfg a Github folder <> Notion URL mapping for as many Github folders or subfolders as desired. This way, they can mirror documentation organization in Github to subpage organization in Notion. You can also map Github folders from different repos to the same Notion subpage.

Notes:

  • Notion subpages must already be created, so you can access the URL
  • Does not replace ignore_regex for folders that you do NOT want to upload to Notion. If the filename doesn't match one of the specified folders, then it will revert to the default behavior of uploading to the repo-specific page.
  • If you still want all your .md files in one Notion page, you can leave the [folder] config blank and use the default behavior

@mgleave
Copy link
Contributor Author

mgleave commented Mar 28, 2024

Hey @NarekA , thanks for the approval! I don't have write access to be able to merge, can you please merge when convenient?

@NarekA NarekA merged commit 144f4f9 into NarekA:master Mar 29, 2024
@NarekA
Copy link
Owner

NarekA commented Mar 29, 2024

@mgleave Done! Happy to make you an admin on this repo, since I am no longer using notion at work, I have not been maintaining this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants