Comments (5)
Yeah, this is something I've been avoiding on purpose because I wanted to think of an elegant solution. Right now it's possible to rename a page by specifying the page ID for it on the command line, but only when uploading one document at a time. For multiple documents we'd have to keep a mapping of all the existing page IDs, or do what you suggested and wipe all subpages for a parent page. There's still a risk that people will delete pages they don't want to delete, but it can be up to the user.
from md2cf.
Yeah, I completely get you!
In reality, I'd prefer to have a GitHub Action that either compares the current and previous commit git diff HEAD^ HEAD
or even better the dry-run of HEAD and HEAD^. This could be done to flag/target pages that potentially should be deleted.
The pages should only be deleted if one of the following:
- The page is identical to the HEAD^ aka no manual edits (so either a comparison of the content or who last modified the page)
- A flag that forces the code is the golden record/source of truth
If none of these conditions is set, you could either break the action or less intrusive create a warning.
This if of course just brainstorming on a feature that'd be nice to have :)
from md2cf.
Related Issues (20)
- certificate verify failed: self signed certificate in certificate chain HOT 2
- 1.3.0 available on Pypi but not here HOT 1
- Remove top-level header when used as page title HOT 3
- Associate Markdown files and page ID's HOT 9
- Feature Request: Page Footers HOT 1
- UnicodeDecodeError: 'gbk' codec can't decode byte HOT 4
- Question/Feature Request: Inject custom Confluence Macros within Markdown HOT 3
- Feature Request: Publish as confluence blog entry (instead of page) HOT 4
- Feature Request: Add labels to published pages HOT 2
- `<kbd>` does not render in Confluence HOT 2
- URL not found HOT 3
- Support "minorEdit" option HOT 1
- Mistune 2 compatibility HOT 5
- Unicode HOT 3
- Handle relative-links within documents HOT 2
- parent_title and rate limits HOT 7
- folder upload breaks when --no-gitignore is omitted HOT 5
- Failed to upload image HOT 3
- ERROR: list index out of range HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from md2cf.