Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add NGINX variable documentation #203

Merged
merged 3 commits into from
Jun 11, 2024
Merged

feat: add NGINX variable documentation #203

merged 3 commits into from
Jun 11, 2024

Conversation

ryepup
Copy link
Collaborator

@ryepup ryepup commented Jun 7, 2024

Proposed changes

Parse NGINX variables from the XML docs, and include them in the data files. This will enable hints on variables like $binary_remote_addr, which are currently very broken in the web scraping solutions.

Fixes #201

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md and CHANGELOG.md)

@ryepup ryepup self-assigned this Jun 7, 2024
@ryepup ryepup changed the title 201 add variables feat: add NGINX variable documentation Jun 7, 2024
New function and new data file from running the converter.
@ryepup ryepup merged commit 1e8d317 into main Jun 11, 2024
6 checks passed
@ryepup ryepup deleted the 201-add-variables branch June 11, 2024 14:51
ryepup added a commit to ryepup/nginx-editor that referenced this pull request Jun 11, 2024
The previous version of `@nginx/reference-lib` did not have NGINX
variables (like `$binary_remote_addr`), update and include those in
the autocomplete array.

The old web scraper included these variables, but often had inaccurate descriptions.

See also: nginx/nginx-directive-reference#203
jaywcjlove pushed a commit to jaywcjlove/nginx-editor that referenced this pull request Jun 11, 2024
The previous version of `@nginx/reference-lib` did not have NGINX
variables (like `$binary_remote_addr`), update and include those in
the autocomplete array.

The old web scraper included these variables, but often had inaccurate descriptions.

See also: nginx/nginx-directive-reference#203
github-actions bot pushed a commit to jaywcjlove/nginx-editor that referenced this pull request Jun 11, 2024
The previous version of `@nginx/reference-lib` did not have NGINX
variables (like `$binary_remote_addr`), update and include those in
the autocomplete array.

The old web scraper included these variables, but often had inaccurate descriptions.

See also: nginx/nginx-directive-reference#203 23a3800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

include NGINX variables in the dataset
2 participants