Page MenuHomePhabricator

Governance & Guidelines: Update documentation structure in Codex's documentation site
Closed, ResolvedPublic3 Estimated Story Points

Description

Background/Goal

The structure of the Introduction and the Contributing sections in the Codex demo should be updated in order to make room for and properly organize the guidelines and supporting documentation that will be created as part of T313905: Governance & Guidelines: Publish Guidelines & Documentation required for Design System Contribution V1.

Our suggestion is to create clearly targeted sections in the left navigation menu that map to the informational needs of Codex users (consumers and contributors). Here's our initial proposal:

Using Codex

About Codex

  • What is Codex? (Contains the information currently available in "About", but not the Guiding principles – see below)
  • Who is Codex for? (Would contain the "Who we're serving" and "Collaboration principles" section of the guidelines and the "Usage and contributions" section in About)

Developing

  • How to use Codex (Contains the "Usage" section)
  • Packages (Contains the information already included in the "Packages" section)

Designing

  • Design principles (Hosts the content to be created as an outcome of T313933)
  • Design resources (links to the Figma resources: design components' library, iconography, and tokens)

Decisions – ADRs

Contributing

  • Overview
  • Governance model (Name TBD to make it more understandable: Maybe "Contribution workflow"?. See graphic to be textually described in this section)
  • Contributing design (Will contain the sections "Designing tokens", "Designing components" (See T312023) and "Designing Icons" (See T312025))
Acceptance criteria
  • The DST agrees on the new structure and content of our introduction and documentation sections
  • The agreed-upon structure is reflected in the Codex demo, and the content is reorganized when needed

Event Timeline

Change 805910 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[design/codex@main] [WIP] docs: Refactor site architecture

https://gerrit.wikimedia.org/r/805910

As discussed earlier with Bárbara and Sarai, I think this is a great idea! I've started incorporating some of this as I'm refactoring the docs site architecture in order to support component groups.

Here's a demo of the new architecture in action. A few changes from the task description:

  • We agreed on "Using Codex" instead of "Introduction" or "About" for the first section
  • I haven't split up the "about" page yet
  • I created a separate section of the site for Contributing since the contributing docs are getting pretty long

Change 805910 merged by jenkins-bot:

[design/codex@main] docs: Refactor site architecture

https://gerrit.wikimedia.org/r/805910

Not sure if it was caused by the patch from this task, but the internal links on the main part of the page in https://doc.wikimedia.org/codex/main/ are now broken. The links in the header are fine.

Change 831597 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[design/codex@main] docs: Fix landing page links

https://gerrit.wikimedia.org/r/831597

Change 831597 merged by jenkins-bot:

[design/codex@main] docs: Fix landing page links

https://gerrit.wikimedia.org/r/831597

Thanks for flagging that, @Michael! The links should be working now.

Thanks for reflecting the new suggested structure so quickly, Anne! While we'd like to evaluate the new navigation a bit (potential adjustments would be shared soon) for now, I'd like to recommend using the same main section names in both the top and the left menus. There are only two changes needed: the Introduction section (screenshot below) should be called "Using Codex", and the same would apply to Contributing (currently "Contributing guidelines"). This (hopefully small) change will help with orientation.

Screenshot 2022-09-13 at 18.08.35.png (342×580 px, 22 KB)

@Sarai-WMDE Good call, I'll make this change ASAP!

Change 831947 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/core@master] Update Codex from v0.1.1 to v0.2.1

https://gerrit.wikimedia.org/r/831947

Change 831947 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.1.1 to v0.2.1

https://gerrit.wikimedia.org/r/831947

Change 831959 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[design/codex@main] docs: Make top section headings consistent

https://gerrit.wikimedia.org/r/831959

Change 831959 merged by jenkins-bot:

[design/codex@main] docs: Make top section headings consistent

https://gerrit.wikimedia.org/r/831959

ldelench_wmf set the point value for this task to 3.
ldelench_wmf subscribed.

Moving into sprint board & adding placeholder estimate since this appears to be in-progress. Feel free to correct.

Volker_E renamed this task from Governance & Guidelines: Update documentation structure in Codex's demo site to Governance & Guidelines: Update documentation structure in Codex's documentation site.Sep 21 2022, 10:50 PM

The overall structure described in this task is generally reflected by the Codex demo. There are, nevertheless, some exceptions:

  • We decided to create a "Using Codex" section that hosts the "About" section. This means that the content of "About" wasn't divided into further subsections as specified by the proposed structure.
  • The content of Contributing code doesn't match what's suggested in the task, but of course engineers should have the last word here. It'd be great to get confirmation from @Catrope, @AnneT or @egardner that you actively decided not to reorganize the content 🙏🏻
  • When it comes to Design and Development-oriented content, we hoped to maintain the same order in the nav menu. So, "Designing" and "Contributing design" should both go either before or after "Developing" and "Contributing code" in "Using codex" and "Contributing", respectively. Looking at the current structure of the "Contributing" section, it appears that design docs will always be first: is that intended?

Change 849191 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/core@master] Update Codex from v0.2.1 to v0.2.2

https://gerrit.wikimedia.org/r/849191

Change 849191 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.2.1 to v0.2.2

https://gerrit.wikimedia.org/r/849191

bmartinezcalvo subscribed.

Moving this task to Ready for Development since we need to update the Codex demo with the new structure described in the task description.

I'm not sure that this task is still relevant based on T317198#8273368. It seems like we didn't implement the task description exactly, but we mostly accomplished what this task is aiming to achieve. An important update we still haven't made is linking the governance model from the doc site, but that work is already captured in T288710.

@bmartinezcalvo Are there remaining structural changes we still want to make as part of this work? If we are adopting Codex as the DS for Wikimedia, I feel like major structural changes to the doc site should be in line with that work.

@bmartinezcalvo Are there remaining structural changes we still want to make as part of this work? If we are adopting Codex as the DS for Wikimedia, I feel like major structural changes to the doc site should be in line with that work.

I agree that we could define the new Codex navigational architecture as part of T324228. @CCiufo-WMF what if we create this as a subtask of T324228 to take better decisions once we decide what to do with the new DS demo?

I would lean towards closing this task and creating a new subtask under T324228 once we have more information about what we want to change. It still seems to me like we completed what this task set out to do. I'll let @Sarai-WMDE confirm this though!