Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xPolygon/polygon-docs-old
/ functions
Functions
12 in github.com/0xPolygon/polygon-docs-old
⨍
Functions
12
◇
Types & classes
0
↓ 2 callers
Function
clone_data_to_branch_folder
Clones data to branch folder in branch/<PR Number> or branch/dev folder :param branch_name: Branch to clone and build :param remote_url:
build_branches.py:71
↓ 1 callers
Function
copy_folder
Copies contents from source directory to target directory :param source_dir: Source directory from which contents are to be copied :param
build_branches.py:40
↓ 1 callers
Function
delete_folders
Cleans existing folders for app and branches before executing the builds :param folder_paths: List of folders to be deleted under the current
build_branches.py:59
↓ 1 callers
Function
initChefAi
()
docs/_site_essentials/js/init_chef_ai.js:2
↓ 1 callers
Function
install_mkdocs_with_pipenv
Builds a particular branch site. Having a varying set of requirements can be handled by having each branch build their dependencies and t
build_branches.py:29
↓ 1 callers
Function
list_files
(startpath)
scripts/toc-script.py:16
↓ 1 callers
Function
list_files
(startpath)
docs/toc.py:16
↓ 1 callers
Function
parse_args
Parses arguments passed from command line
build_branches.py:16
↓ 1 callers
Function
process_branch_folders
Clones the branch specific code to hosted/<branch-name> folder. It then executes the build command and copy the built site to apps folder
build_branches.py:114
↓ 1 callers
Function
update_nginx_config
Updates nginx.conf file with branches built information to host multiple versions of software at the same time. :param pr_numbers: pr num
build_branches.py:150
↓ 1 callers
Function
update_pr_description
Updates PR description by adding the url to access the hosted environment under dev if it does not already exist in the definition :param
build_branches.py:98
Function
keyPressPropagationBlocker
(e)
docs/_site_essentials/js/init_chef_ai.js:24