{
    "content": [
        {
            "type": "text",
            "text": "# RDoc::Task (ri)\n\n## Sections\n\n- **RDoc::Task < Rake::TaskLib** (1 subsections)\n- **Class methods:**\n- **Instance methods:**\n- **Attributes:**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RDoc::Task",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "RDoc::Task < Rake::TaskLib",
                "lines": 35,
                "subsections": [
                    {
                        "name": "Specifying different task names",
                        "lines": 29
                    }
                ]
            },
            {
                "name": "Class methods:",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "Instance methods:",
                "lines": 25,
                "subsections": []
            },
            {
                "name": "Attributes:",
                "lines": 11,
                "subsections": []
            }
        ],
        "sections": {
            "RDoc::Task < Rake::TaskLib": {
                "content": "(from gem rdoc-7.2.0)\n------------------------------------------------------------------------\nRDoc::Task creates the following rake tasks to generate and clean up\nRDoc output:\n\nrdoc:\nMain task for this RDoc task.\n\n\nclobberrdoc:\nDelete all the rdoc files.  This target is automatically added to the\nmain clobber target.\n\n\nrerdoc:\nRebuild the rdoc files from scratch, even if they are not out of date.\n\n\nrdoc:coverage:\nPrint RDoc coverage report for all rdoc files.\n\n\nSimple Example:\n\nrequire 'rdoc/task'\n\nRDoc::Task.new do |rdoc|\nrdoc.main = \"README.md\"\nrdoc.rdocfiles.include(\"README.md\", \"lib//*.rb\")\nend\n\nThe rdoc object passed to the block is an RDoc::Task object. See the\nattributes list for the RDoc::Task class for available customization\noptions.\n",
                "subsections": [
                    {
                        "name": "Specifying different task names",
                        "content": "You may wish to give the task a different name, such as if you are\ngenerating two sets of documentation.  For instance, if you want to have\na development set of documentation including private methods:\n\nrequire 'rdoc/task'\n\nRDoc::Task.new :rdocdev do |rdoc|\nrdoc.main = \"README.md\"\nrdoc.rdocfiles.include(\"README.md\", \"lib//*.rb\")\nrdoc.options << \"--all\"\nend\n\nThe tasks would then be named :rdocdev,\n:clobberrdocdev, and :rerdocdev.\n\nIf you wish to have completely different task names, then pass a Hash as\nfirst argument. With the :rdoc, :clobberrdoc and :rerdoc options, you\ncan customize the task names to your liking.\n\nFor example:\n\nrequire 'rdoc/task'\n\nRDoc::Task.new(:rdoc => \"rdoc\", :clobberrdoc => \"rdoc:clean\",\n:rerdoc => \"rdoc:force\")\n\nThis will create the tasks :rdoc, :rdoc:clean, :rdoc:force, and\n:rdoc:coverage.\n------------------------------------------------------------------------"
                    }
                ]
            },
            "Class methods:": {
                "content": "new\n",
                "subsections": []
            },
            "Instance methods:": {
                "content": "beforerunningrdoc\nchecknames\nclobbertaskdescription\nclobbertaskname\ncoveragetaskdescription\ncoveragetaskname\ndefaults\ndefine\nexternal\ngenerator\nmain\nmarkup\nname\noptionlist\noptions\nrdocdir\nrdocfiles\nrdoctarget\nrdoctaskdescription\nrdoctaskname\nrerdoctaskdescription\nrerdoctaskname\ntemplate\ntitle\n",
                "subsections": []
            },
            "Attributes:": {
                "content": "attraccessor external\nattraccessor generator\nattraccessor main\nattraccessor markup\nattraccessor name\nattraccessor options\nattraccessor rdocdir\nattraccessor rdocfiles\nattraccessor template\nattraccessor title\n",
                "subsections": []
            }
        }
    }
}