Skip to content

rdme docs does not handle symlinks properly #942

Open
@NiankSoft

Description

Assuming we have this folder structure:

.
├── a
│   └── a.md
└── b
    ├── a -> ../a/
    └── b.md

  • rdme docs a will upload a.md as expected
  • rdme docs b will upload b.md and completely ignore the folder structure (I expect a.md to be there as well)
  • rdme docs b/a will upload a.md but the logging seems broken (updating files are blank lines):
🔑 [email protected] is currently logged in, using the stored API key for this project: xxx
`aa` was not updated because there were no changes.
`bb` was not updated because there were no changes.
✏
`dd` was not updated because there were no changes.

To build the folder structure above:

mkdir a b
touch a/a.md # Of course, we need at least the yaml header in there, to actually test it
touch b/b.md
cd b
ln -s ../a ./

Metadata

Assignees

No one assigned

    Labels

    command:docsIssues pertaining to the `docs`, `changelogs`, or `custompages` commandsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions