Title: 关于离线文档生成建议(提交url) · Issue #83 · phalapi/phalapi · GitHub
Open Graph Title: 关于离线文档生成建议(提交url) · Issue #83 · phalapi/phalapi
X Title: 关于离线文档生成建议(提交url) · Issue #83 · phalapi/phalapi
Description: 1.api_desc_tpl.php $url .= trim(substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/') + 1),"."); //api_desc_tpl.php 246行增加trim 不然请求链接会多个. 2.docs.php if (substr(PHP_SAPI, 0, 3) == 'cli') { $_SERVER['HTTP_HOST'] = "api.q...
Open Graph Description: 1.api_desc_tpl.php $url .= trim(substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/') + 1),"."); //api_desc_tpl.php 246行增加trim 不然请求链接会多个. 2.docs.php if (substr(PHP_SAPI, 0, 3) ==...
X Description: 1.api_desc_tpl.php $url .= trim(substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/') + 1),"."); //api_desc_tpl.php 246行增加trim 不然请求链接会多个. 2.docs...
Opengraph URL: https://github.com/phalapi/phalapi/issues/83
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"关于离线文档生成建议(提交url)","articleBody":"1.api_desc_tpl.php\r\n `$url .= trim(substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/') + 1),\".\"); //api_desc_tpl.php 246行增加trim 不然请求链接会多个. `\r\n\r\n2.docs.php\r\n```\r\nif (substr(PHP_SAPI, 0, 3) == 'cli') {\r\n $_SERVER['HTTP_HOST'] = \"api.quexs.com\"; //这个是我自己加的 这样可以默认使用自己配置的url\r\n // 生成离线文档\r\n $apiHtml = new \\PhalApi\\Helper\\ApiStaticCreate($projectName);\r\n $apiHtml->render();\r\n}\r\n```","author":{"url":"https://github.com/CooljunS","@type":"Person","name":"CooljunS"},"datePublished":"2019-04-02T09:17:26Z","url":"https://github.com/phalapi/phalapi/issues/83"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:60ae9ecd-a2a5-462a-09bf-e3808bc4d061 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA4A:377598:FAFFF:153EE6:6B00635C |
| html-safe-nonce | 289b6147ac4a76ec28d275600fea7cf59655867ac33adc48d0aea416597bdddb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTRBOjM3NzU5ODpGQUZGRjoxNTNFRTY6NkIwMDYzNUMiLCJ2aXNpdG9yX2lkIjoiMjYzNTMyNzM4NTU1NzI5NTk2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a9b44038dc0d228ab3cf06115a8208d7f0be9f9ca47cd8d694a5b7b4ab7b80c3 |
| hovercard-subject-tag | issue:428112274 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phalapi/phalapi/83/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c73ae67a1a0fc08800c58a012e90e5bfd1f9a9fb00b0897b9276b026530dfb9/phalapi/phalapi/issues/83 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c73ae67a1a0fc08800c58a012e90e5bfd1f9a9fb00b0897b9276b026530dfb9/phalapi/phalapi/issues/83 |
| og:image:alt | 1.api_desc_tpl.php $url .= trim(substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/') + 1),"."); //api_desc_tpl.php 246行增加trim 不然请求链接会多个. 2.docs.php if (substr(PHP_SAPI, 0, 3) ==... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CooljunS |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| turbo-cache-control | no-preview |
| go-import | github.com/phalapi/phalapi git https://github.com/phalapi/phalapi.git |
| octolytics-dimension-user_id | 12585518 |
| octolytics-dimension-user_login | phalapi |
| octolytics-dimension-repository_id | 36178323 |
| octolytics-dimension-repository_nwo | phalapi/phalapi |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36178323 |
| octolytics-dimension-repository_network_root_nwo | phalapi/phalapi |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width