IP Library Granted Patent US 12688035
Granted Patent B2
US 12688035 · App. 18/649,954 · Granted Jul 21, 2026

Object-based documentation generation

Inventors: Richard Goldman (Falls Church, VA); Kumari Bhawprita (Glen Allen, VA); Uday Jain (Glen Allen, VA); Narayanan Subramanian (Frisco, TX); Finley Kirvan (San Francisco, CA); Glen Rucker (Mechanicsville, VA); Mihir Shah (Glen Allen, VA); Kaushal Pandya (Glen Allen, VA); Ramesh Chandra (Glen Allen, VA); Nihar Pradhan (Glen Allen, VA); Shailendra Jain (Henrico, VA); Bal Reddy Cherlapally (Glen Allen, VA)
Assignee: Capital One Services, LLC
G06F8/73G06F8/427G06F8/71G06F40/186
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12688035
App. No.
18/649,954
Granted
Jul 21, 2026
Kind
B2
Abstract

In some implementations, a device may load, from a code repository, a code file containing code for a plurality of object data structures that indicate respective values for a set of object parameters, where the code is in a form for interpretation by a code interpreter. The device may instantiate a plurality of objects in accordance with the plurality of object data structures. The device may retrieve a first template that provides a first formatting used for generating end-user documentation. The device may generate a documentation document using the plurality of objects and the first template. The device may retrieve a second template that provides a second formatting used for generating metadata for the documentation document. The device may generate the metadata using the second template. The device may insert the metadata into the documentation document.

Claims (70)

1 . A system for object-based documentation generation, the system comprising:

one or more memories; and

one or more processors, communicatively coupled to the one or more memories, configured to:

load, from a code repository, a code file containing code for a plurality of object data structures that indicate respective values for a set of object parameters,

wherein the code is in a form for interpretation by a code interpreter;

instantiate a plurality of objects in accordance with the plurality of object data structures;

parse the code file to extract the respective values for the set of object parameters from the plurality of objects;

retrieve a first template that provides a first formatting used for generating end-user documentation;

generate a documentation document using the respective values for the set of object parameters and the first template;

retrieve a second template that provides a second formatting used for generating metadata for the documentation document;

generate the metadata using the second template;

insert the metadata into the documentation document; and

store the documentation document in a document repository.

2 . The system of claim 1 , wherein the one or more processors are further configured to:

cause a fork of a base repository;

cause generation of a commit, to the fork, including the documentation document;

cause generation of a pull request, that includes the commit, from the fork to the base repository; and

cause merging, responsive to an approval of the pull request, of the pull request into the base repository.

3 . The system of claim 2 , wherein the one or more processors are further configured to:

transmit, via an email message or an instant messenger message, an approval request for the pull request; and

receive an approval response indicating the approval of the pull request.

4 . The system of claim 1 , wherein the one or more processors, to load the code file, are configured to:

load the code file as a module into another executing code file.

5 . The system of claim 1 , wherein the code file includes the code in the form for interpretation by the code interpreter, and includes one or more comments that are not in the form for interpretation by the code interpreter.

6 . The system of claim 1 , wherein the one or more processors, to parse the code file, are further configured to:

format the plurality of objects.

7 . The system of claim 1 , wherein the one or more processors, to parse the code file, are further configured to:

add values to the respective values for a first parameter that is absent from the set of object parameters, or

delete values from the respective values for a second parameter in the set of object parameters.

8 . The system of claim 1 , wherein the plurality of object data structures relate to error codes associated with deployment of cloud infrastructure.

9 . A method of object-based documentation generation, comprising:

loading, from a code repository, a code file containing code for a plurality of object data structures that indicate respective values for a set of object parameters,

wherein the code is in a form for interpretation by a code interpreter;

instantiating a plurality of objects in accordance with the plurality of object data structures;

retrieving a first template that provides a first formatting used for generating end-user documentation;

generating a documentation document using the plurality of objects and the first template;

retrieving a second template that provides a second formatting used for generating metadata for the documentation document;

generating the metadata using the second template; and

inserting the metadata into the documentation document.

10 . The method of claim 9 , wherein loading the code file comprises:

renaming the code file based on a name of the code repository.

11 . The method of claim 9 , wherein generating the metadata comprises:

generating the metadata based on a name of the code file.

12 . The method of claim 9 , further comprising:

parsing the code file to:

format the plurality of objects, and

extract the respective values for the set of object parameters from the plurality of objects.

13 . The method of claim 9 , wherein loading the code file comprises:

loading the code file as a module into another executing code file.

14 . The method of claim 9 , wherein the code file includes the code in the form for interpretation by the code interpreter, and includes one or more comments that are not in the form for interpretation by the code interpreter.

15 . A non-transitory computer-readable medium storing a set of instructions, the set of instructions comprising:

one or more instructions that, when executed by one or more processors of a device, cause the device to:

load, from a code repository, a code file containing code for a plurality of object data structures that indicate respective values for a set of object parameters,

wherein the code is in a form for interpretation by a code interpreter;

instantiate a plurality of objects in accordance with the plurality of object data structures;

parse the code file to format the plurality of objects;

retrieve a template that provides a formatting used for generating end-user documentation; and

generate a documentation document using the plurality of objects and the template.

16 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, when executed by the one or more processors, further cause the device to:

detect a triggering event for generating the documentation document, and

wherein the one or more instructions, that cause the device to load the code file, cause the device to:

load the code file responsive to the triggering event.

17 . The non-transitory computer-readable medium of claim 16 , wherein the triggering event is an occurrence of a periodic time interval, a change to the code file, or a change to a list of codebases or code repositories to include a new codebase or code repository associated with the code file.

18 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, when executed by the one or more processors, further cause the device to:

retrieve an additional template that provides a different formatting used for generating metadata for the documentation document;

generate the metadata using the additional template; and

insert the metadata into the documentation document.

19 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, that cause the device to load the code file, cause the device to:

load the code file as a module into another executing code file.

20 . The non-transitory computer-readable medium of claim 15 , wherein the code file includes the code in the form for interpretation by the code interpreter, and includes one or more comments that are not in the form for interpretation by the code interpreter.