Skip to content

Bad link and bad code on https://os.mbed.com/docs/mbed-os/v6.15/apis/platform-concepts.html #1492

Open
@supcik

Description

@supcik

Docs issue template

Page link

https://os.mbed.com/docs/mbed-os/v6.15/apis/platform-concepts.html

Expected to find...

On this page, there is a link "Importance of State" pointing to a wrong page ("platform.html#the-importance-of-state" instead of "platform-concepts.html#the-importance-of-state"

In the main.cpp code (https://github.com/ARMmbed/mbed-os-snippet-PlatfromOverview_Callbacks/blob/v6.15/main.cpp), the echo function reads and writes a char, but the size argument (sizeof(c)) returns the size of the pointer (4 on a 32 bit system) instead of 1.

Found

  • Link to wrong page
  • Error in code

Remark

I tried to find the corresponding pages in github, but I don't understand how URL are mapped to markdown documents.

For example :

  • The page with the title "Platform overview" is at the URL ".../apis/platform-concepts.html" and the markdown file seems to be "docs/api/platform/platform.md"
  • The page with the title "Platform APIs" is at the URL ".../apis/platform.html" and the markdown seems to be "docs/api/platform/platform_list.md"

Can you please explain the rules between the title, the URL and the ".md" file?

Thank you very much in advance.

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