Skip to content

readme documentation, tool error (?) #10

@johnperry-math

Description

@johnperry-math

I saw your comment that this (?) tool needs to be fixed in order to make sure the fixes to the Style Guide on adalang-io stay fixed. I thought I might try to look at that, but:

  • When I try to follow the directions in README.md, I get hung up on this line:

    Then run yarn format in ada-lang.io repository to reformat output according to Docusaurus style.

    ...because when I try to run that in the output folder (?) I get the following response:

    $ yarn format
    yarn run v1.22.22
    error Couldn't find a package.json file in "/home/cantanima/common/Ada/import-style-guide/work"
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    

    I'm not sure what I'm supposed to use for package.json. I have the feeling I should be in the ada-lang.io repository, but I also suspect that's something I don't have access to.

  • The fetch.sh script tells me to run yarn prettier --write $OUTPUT but that does the same thing.

  • When I manually inspect the mdx files in the $OUTPUT folder, I see correct formatting; that is, ```ada appears where it's supposed to. Meanwhile, the script is downloading from wikibooks, as I expected, which suggests that the correct information is obtained. So I'm completely confused on what's causing the problem, and for that matter on where the fix is supposed to occur.

As I say, I'm more than willing to work on this, but I'll need a bit of direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions