Difference between revisions of "Google Season of Docs/Proposal"

From BRL-CAD
(Created page with "This is our 2021 proposal to the Google Season of Docs. Please direct any questions or comments to devs@brlcad.org = Migrate BRL-CAD's Documentation Infrastructure = == Abo...")
 
(flesh out our gsod 2021 proposal)
Line 1: Line 1:
This is our 2021 proposal to the Google Season of Docs.  Please direct any questions or comments to devs@brlcad.org
+
This is our 2021 organization proposal to the Google Season of Docs.  Please direct any questions or comments to devs@brlcad.org
  
 
= Migrate BRL-CAD's Documentation Infrastructure =
 
= Migrate BRL-CAD's Documentation Infrastructure =
Line 29: Line 29:
  
  
== Scope of the Project ==
+
== Scope of the Migration Project ==
  
 
This project attempts to modernize our infrastructure migrating existing documentation from Docbook XML to AsciiDoc in Antora.
 
This project attempts to modernize our infrastructure migrating existing documentation from Docbook XML to AsciiDoc in Antora.
  
What is in scope?
+
=== What is in scope? ===
  
The minimum scope of the project is migrating our existing Docbook XML docs in our [https://github.com/BRL-CAD/brlcad/ repository].
+
The minimum scope of the project is migrating our existing Docbook XML docs in our [https://github.com/BRL-CAD/brlcad/ repository]. This includes:
  
 +
* Successfully completing onboarding outlined in our contributor guide
 +
* Developing a migration plan for mapping Docbook XML structures to AsciiDoc
 +
* Setting up a preliminary custom output style for BRL-CAD in Antora
 +
* Mocking up a manual conversion of our About document
 +
* Representing translations in Antora for all docs already converted to other languages
 +
* Coordinating with others on partially automated conversion from Docbook to AsciiDoc
 +
* Coordinating with others on feedback and issues identified
 +
* Documenting the essential steps required to migrate a document
 +
* Setting up an instance of Antora on brlcad.org
 +
* Configuring Antora and/or Github for online editing by anonymous contributors
 +
* Working with dev team to establish required Github and/or CMake logic that deploys docs to Antora
 +
* Working with dev team to coordinate deployment of Antora to brlcad.org
 +
* Maintaining a public log of and writing up a summary of project outcome
  
What is not in scope?
+
=== What is not in scope? ===
  
 
There are extensive docs not in Docbook XML format in our repository, on the [[Main_page|website wiki]], [[Documentation|in other formats]], and in other files that are desirable and may also be migrated (e.g., for testing purposes), but they are secondary priority and need not be considered in scope.
 
There are extensive docs not in Docbook XML format in our repository, on the [[Main_page|website wiki]], [[Documentation|in other formats]], and in other files that are desirable and may also be migrated (e.g., for testing purposes), but they are secondary priority and need not be considered in scope.
 +
 +
Also not in scope is technical administration, maintenance, and installation of Antora itself on our production server.  This will be handled by the dev team.  The technical writer will need to be capable of setting up Antora locally for development and testing purposes.
  
 
We estimate that this project will take 3 months to complete.  We have three mentors willing to directly help with this effort and that have committed to supporting the project.
 
We estimate that this project will take 3 months to complete.  We have three mentors willing to directly help with this effort and that have committed to supporting the project.
Line 46: Line 61:
 
== Measuring Success ==
 
== Measuring Success ==
  
As this project centers around migrating documentation, measuring success is a simple function of percent converted.
+
As this project centers around migrating documentation, measuring success is a simple function of percent documentation converted to AsciiDoc and deployed to Antora.  At present, there are 505 .xml documents in doc/docbook of the repository that require conversion.
 +
 
 +
We would consider the project successful if at least 80% of the existing Docbook files are fully converted to AsciiDoc, imported to Antora, and deployed online.
 +
 
 +
We would also consider the project successful if, within a year, it results in any (> 0%) external pull requests to a migrated AsciiDoc document.
 +
 
 +
== Project Budget ==
 +
 
 +
We we anticipate the project requiring 3 months of near full-time effort, our budget is fixed at $5000 total with 100% allocated to the technical writer.
 +
 
 +
Our organization is contributing volunteer effort in-kind to mentor the technical writer, to provide research and development support, and is not seeking any direct allocation of funds to our organization.
 +
 
 +
== Additional Information ==
 +
 
 +
=== Previous experience with technical writers or documentation ===
 +
 
 +
BRL-CAD has an extensive development legacy that spans three decades. [https://brlcad.org/BRL-CAD_Bibliography.pdf BRL-CAD's bibliography] speaks for itself as to the extensive nature of our community's experience with documentation and technical writers.  BRL-CAD maintains hundreds of existing documents, tutorials, guides, quick references, diagrams, presentations, books, and more that help teach fundamentals to advanced CAD topics and everything in between.
 +
 
 +
For many years in the early 2000's, one of BRL-CAD's leading sponsors employed a technical writer to work full time on BRL-CAD documentation.  This resulted in daily interaction over many years and gave our community an appreciation for the value technical writers bring to the table.  Since that time, we have continued to engaged technical writers, write technical documentation ourselves, consult with technical writers on our docs, and engage documentation contributors.
 +
 
 +
=== Previous participation in the Season of Docs, GSoC, GCI, Google DocCamp ===
 +
 
 +
BRL-CAD was fortunate to participate in the inaugural 2019 Season of Docs.  We had a wonderful experience working with Sahibpreet Kaur to create a concise Intro to BRL-CAD.  This document was instrumental in the creation of updated modeler training that has been utilized in four separate in-person and online training classes for BRL-CAD.
 +
 
 +
BRL-CAD also participated in the 2020 Season of Docs, however our tech writer withdrew from the program after unsuccessful prioritization of time and effort.  Over many weeks, we tried various strategies to remedy participation including discussions, probation, and consultation with other orgs and GSoD staff, however the project was ultimately cancelled once the participant withdrew.
 +
 
 +
Since 2012, BRL-CAD participated 6 times in Google Code-In (GCI).  The GCI program was an exceptionally good fit for our code and community, and was generally revered as one of our favorite Open Source activities to date until the program was discontinued in 2020.  By rough estimation, we engaged over 1000 students, acquired at least 5 core contributors that remained involved with the project after 12 months, and received contributions that equated to more than 10 staff years of full time effort!  We loved GCI and were sad to see it go.
 +
 
 +
In 2013, BRL-CAD was selected to participate in [[Google_Doc_Camp|Google Doc Camp]] where our team of developers and technical writers wrote a Contributor's Guide.  That guide continues to be used today for onboarding of new contributors, showcasing features, and showcasing the potential effectiveness of a development offsite/retreat/camp.
 +
 
 +
Having participated nearly every year since 2008, BRL-CAD is one of the oldest organizations in the Google Summer of Code.  We have mentored hundreds of students have had exceptional outcomes.  GSoC revolutionized our community practices, organized our outreach activities, helped coordinate development prioritization, helped grow our open source community, and have inspired development successes for more than a decade.

Revision as of 11:56, 26 March 2021

This is our 2021 organization proposal to the Google Season of Docs. Please direct any questions or comments to devs@brlcad.org

Migrate BRL-CAD's Documentation Infrastructure

About BRL-CAD

BRL-CAD is a powerful cross-platform solid modeling system for 3D computer-aided design and graphic visualization. Currently standing at more than a million lines of code and hundreds of staff-years investment, BRL-CAD has nearly 40 years development history (since 1979) and is in production use by more than 2000 organizations around the world. BRL-CAD is represented, used, and developed by a collective of industry, academia, and government participants from all over the world.

In all, BRL-CAD has more than a million words of documentation across hundreds of manual pages, dozens of tutorials, hundreds of wiki pages, dozens of technical papers, and other resources. There are literally thousands of features created over decades of development. BRL-CAD's set of current manuals, guides, tutorials, and other documentation are listed on our website wiki and included in our repository].

About Our Doc Infrastructure

Technologies Difficulty Contacts
BRL-CAD has extensive documentation infrastructure using Docbook XML whereby we "compile" them into HTML, PDF, and other formats. This approach helps ensure docs remain up-to-date, without syntax/structure errors, and allows the documentation to be composed and reused in different ways (e.g., an tutorial on some topic might get embedded as an appendix in one document or a chapter to another). That said, the underlying format is tedious to write and hard for contributors. We'd like to migrate to a newer system like Antora or Docusaurus or MkDocs, converting everything over while still retaining build system integration.

References:

Docbook XML, AsciiDoc, Markdown, Antora Medium morrison, rossberg, yapp


Scope of the Migration Project

This project attempts to modernize our infrastructure migrating existing documentation from Docbook XML to AsciiDoc in Antora.

What is in scope?

The minimum scope of the project is migrating our existing Docbook XML docs in our repository. This includes:

  • Successfully completing onboarding outlined in our contributor guide
  • Developing a migration plan for mapping Docbook XML structures to AsciiDoc
  • Setting up a preliminary custom output style for BRL-CAD in Antora
  • Mocking up a manual conversion of our About document
  • Representing translations in Antora for all docs already converted to other languages
  • Coordinating with others on partially automated conversion from Docbook to AsciiDoc
  • Coordinating with others on feedback and issues identified
  • Documenting the essential steps required to migrate a document
  • Setting up an instance of Antora on brlcad.org
  • Configuring Antora and/or Github for online editing by anonymous contributors
  • Working with dev team to establish required Github and/or CMake logic that deploys docs to Antora
  • Working with dev team to coordinate deployment of Antora to brlcad.org
  • Maintaining a public log of and writing up a summary of project outcome

What is not in scope?

There are extensive docs not in Docbook XML format in our repository, on the website wiki, in other formats, and in other files that are desirable and may also be migrated (e.g., for testing purposes), but they are secondary priority and need not be considered in scope.

Also not in scope is technical administration, maintenance, and installation of Antora itself on our production server. This will be handled by the dev team. The technical writer will need to be capable of setting up Antora locally for development and testing purposes.

We estimate that this project will take 3 months to complete. We have three mentors willing to directly help with this effort and that have committed to supporting the project.

Measuring Success

As this project centers around migrating documentation, measuring success is a simple function of percent documentation converted to AsciiDoc and deployed to Antora. At present, there are 505 .xml documents in doc/docbook of the repository that require conversion.

We would consider the project successful if at least 80% of the existing Docbook files are fully converted to AsciiDoc, imported to Antora, and deployed online.

We would also consider the project successful if, within a year, it results in any (> 0%) external pull requests to a migrated AsciiDoc document.

Project Budget

We we anticipate the project requiring 3 months of near full-time effort, our budget is fixed at $5000 total with 100% allocated to the technical writer.

Our organization is contributing volunteer effort in-kind to mentor the technical writer, to provide research and development support, and is not seeking any direct allocation of funds to our organization.

Additional Information

Previous experience with technical writers or documentation

BRL-CAD has an extensive development legacy that spans three decades. BRL-CAD's bibliography speaks for itself as to the extensive nature of our community's experience with documentation and technical writers. BRL-CAD maintains hundreds of existing documents, tutorials, guides, quick references, diagrams, presentations, books, and more that help teach fundamentals to advanced CAD topics and everything in between.

For many years in the early 2000's, one of BRL-CAD's leading sponsors employed a technical writer to work full time on BRL-CAD documentation. This resulted in daily interaction over many years and gave our community an appreciation for the value technical writers bring to the table. Since that time, we have continued to engaged technical writers, write technical documentation ourselves, consult with technical writers on our docs, and engage documentation contributors.

Previous participation in the Season of Docs, GSoC, GCI, Google DocCamp

BRL-CAD was fortunate to participate in the inaugural 2019 Season of Docs. We had a wonderful experience working with Sahibpreet Kaur to create a concise Intro to BRL-CAD. This document was instrumental in the creation of updated modeler training that has been utilized in four separate in-person and online training classes for BRL-CAD.

BRL-CAD also participated in the 2020 Season of Docs, however our tech writer withdrew from the program after unsuccessful prioritization of time and effort. Over many weeks, we tried various strategies to remedy participation including discussions, probation, and consultation with other orgs and GSoD staff, however the project was ultimately cancelled once the participant withdrew.

Since 2012, BRL-CAD participated 6 times in Google Code-In (GCI). The GCI program was an exceptionally good fit for our code and community, and was generally revered as one of our favorite Open Source activities to date until the program was discontinued in 2020. By rough estimation, we engaged over 1000 students, acquired at least 5 core contributors that remained involved with the project after 12 months, and received contributions that equated to more than 10 staff years of full time effort! We loved GCI and were sad to see it go.

In 2013, BRL-CAD was selected to participate in Google Doc Camp where our team of developers and technical writers wrote a Contributor's Guide. That guide continues to be used today for onboarding of new contributors, showcasing features, and showcasing the potential effectiveness of a development offsite/retreat/camp.

Having participated nearly every year since 2008, BRL-CAD is one of the oldest organizations in the Google Summer of Code. We have mentored hundreds of students have had exceptional outcomes. GSoC revolutionized our community practices, organized our outreach activities, helped coordinate development prioritization, helped grow our open source community, and have inspired development successes for more than a decade.