acs::tcllib::register_documentation (private)

 acs::tcllib::register_documentation [ proc_name ]

Defined in packages/acs-tcl/tcl/tcllib-doc-procs.tcl

Refresh documentation for already-loaded Tcllib and tDOM packages, optionally when metadata is requested for a command in uri, base64, mime, md5 or tdom. This procedure never requires a package or evaluates its loader.

Parameters:
proc_name (optional)
Procedure name, or empty to refresh all declarations.

Partial Call Graph (max 5 caller/called nodes):
api_add_calling_info_to_procdoc api_add_calling_info_to_procdoc (private) acs::tcllib::register_documentation acs::tcllib::register_documentation api_add_calling_info_to_procdoc->acs::tcllib::register_documentation api_add_to_proc_doc api_add_to_proc_doc (public) api_add_to_proc_doc->acs::tcllib::register_documentation acs_package_root_dir acs_package_root_dir (public) acs::tcllib::register_documentation->acs_package_root_dir

Testcases:
No testcase defined.
Source code:
        if {$proc_name ne ""} {
            set name [string trimleft $proc_name :]
            set package [string trimleft [namespace qualifiers ::$name] :]
            if {$package ni {uri base64 mime md5 tdom}
                || [package provide $package] eq ""
                || [namespace which -command ::$name] eq ""
                || ([nsv_exists api_proc_doc $name]
                    && [dict exists [nsv_get api_proc_doc $name] main])} {
                return
            }
        }
        # Sourcing keeps ad_proc's source attribution on this file, even
        # when registration was requested by a test or the calling-info scan.
        source [file join [acs_package_root_dir acs-tcl] tcl tcllib-doc-procs.tcl]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: