Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sections (0.19 sec)

  1. scripts/mkdocs_hooks.py

        return files
    
    
    def generate_renamed_section_items(
        items: List[Union[Page, Section, Link]], *, config: MkDocsConfig
    ) -> List[Union[Page, Section, Link]]:
        new_items: List[Union[Page, Section, Link]] = []
        for item in items:
            if isinstance(item, Section):
                new_title = item.title
                new_children = generate_renamed_section_items(item.children, config=config)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  2. scripts/docs.py

        sponsors = mkdocs.utils.yaml_load(sponsors_data_path.read_text(encoding="utf-8"))
        if not (match_start and match_end):
            raise RuntimeError("Couldn't auto-generate sponsors section")
        if not match_pre:
            raise RuntimeError("Couldn't find pre section (<style>) in index.md")
        frontmatter_end = match_pre.end()
        pre_end = match_start.end()
        post_start = match_end.start()
        template = Template(index_sponsors_template)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  3. tensorflow/api_template_v1.__init__.py

    # "contrib".
    if "__all__" in vars():
      vars()["__all__"].append("contrib")
    
    from tensorflow.python.platform import flags
    # The "app" module will be imported as part of the placeholder section above.
    _current_module.app.flags = flags  # pylint: disable=undefined-variable
    setattr(_current_module, "flags", flags)
    
    _major_api_version = 1
    
    # Add module aliases from Keras to TF.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. fastapi/exceptions.py

                int,
                Doc(
                    """
                    A closing code from the
                    [valid codes defined in the specification](https://datatracker.ietf.org/doc/html/rfc6455#section-7.4.1).
                    """
                ),
            ],
            reason: Annotated[
                Union[str, None],
                Doc(
                    """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. .github/actions/people/app/main.py

        github_sponsors_path.write_text(new_github_sponsors_content, encoding="utf-8")
        logging.info("Setting up GitHub Actions git user")
        subprocess.run(["git", "config", "user.name", "github-actions"], check=True)
        subprocess.run(
            ["git", "config", "user.email", "github-actions@github.com"], check=True
        )
        branch_name = "fastapi-people"
        logging.info(f"Creating a new branch {branch_name}")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top