open-horizon.github.io icon indicating copy to clipboard operation
open-horizon.github.io copied to clipboard

Documentationđź“„: Change container *.md file names to a index file name pattern

Open Rene-Ch1 opened this issue 2 years ago • 2 comments

What is the current documentation state?

Change container (files that list links to other files in that section of the document) file names and others like it to and "index" naming pattern.

For example, the name for the following file name can be changed to index.md

https://github.ibm.com/Edge-Fabric/docs/blob/4.3/developing/developing_edge_services.md

Where is this stated?

No response

Why do you want to improve the statement?

No response

Proposed Statement

No response

Additional context.

No response

Rene-Ch1 avatar Apr 18 '22 16:04 Rene-Ch1

Reopening and repurposing to be a generic goal.

Rene-Ch1 avatar Apr 18 '22 19:04 Rene-Ch1

Look in each folder to see if there isn't an index.md or index.html file. If there isn't one, then:

  1. Look at which pages exist and if one of them would make an obvious default page for that directory. If so, rename it to index keeping the existing extension (md or html).
  2. Find all pages that linked to the former filename and change those URLs.

Please ensure that all filenames are lowercase only and contain no spaces or punctuation.

New Contributors, please read the CONTRIBUTING file before asking that this issue be assigned to you. Do not submit a PR for this issue without it being assigned to you.

joewxboy avatar Sep 21 '22 21:09 joewxboy

Hello @joewxboy Can I be assigned this issue ? I would like to work on this. I have set up the documentation locally and have gotten a good understanding of the repository structure.

saurav1004 avatar Feb 02 '23 19:02 saurav1004

@saurav1004 Go ahead. Let me know if you have any questions.

Occasionally, you may find that a directory does not have a file that can serve as an obvious index. In that case, make a new index and list all of the documents in the folder by title and description with the title also serving as a hyperlink. Also, make sure that the index page in the parent folder now links to the new index page in the child folder so that we are not creating an orphan page.

joewxboy avatar Feb 02 '23 20:02 joewxboy

Do we need to create index files now that the site has migrated to the new theme? It might be unnecessary ?

johnwalicki avatar Feb 03 '23 00:02 johnwalicki

Also note, I have some automation that sync the OH docs with the IEAM product docs. It compares on matching Markdown filenames. Changing some of the file names to index.md will break that.

johnwalicki avatar Feb 03 '23 00:02 johnwalicki

IMHO we should close this issue. Would like to hear other opinions.

johnwalicki avatar Feb 03 '23 00:02 johnwalicki

i do appreciate the initiative of looking through our backlog of open issues. Thanks for that!

johnwalicki avatar Feb 03 '23 00:02 johnwalicki

Good point. Thanks, @johnwalicki

@saurav1004 I'll close this one.

joewxboy avatar Feb 03 '23 00:02 joewxboy