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

docs: Improve discoverability of atreplinit (mention it in Manual>"Command-line Interface">"Startup file") #44103

Merged
merged 3 commits into from
May 11, 2022

Conversation

tfiers
Copy link
Contributor

@tfiers tfiers commented Feb 10, 2022

As @StefanKarpinski said here, "startup files should probably only be for REPL convenience".

However, the manual makes no mention of atreplinit, which is the sanctioned way to achieve this.

I personally discovered atreplinit way too late1. In the linked PR, @clarkevans had a similar experience, and suggested to mention atreplinit in the startup.jl section of the manual.

Which is what this PR does (first commit).


I made two additional, related improvements to the page in question (next two commits):

  1. Add two missing headers, "Parallel mode" and "Startup file".
    These now sit along "Using arguments inside scripts" and "Command-line switches for Julia", which were recently introduced:
    Manual: Move introduction about command line arguments from "Getting Started" to "Command-line options" #42878

  2. Rename the page from "Command-line Options" to "Command-line Interface",
    to reflect the fact that it describes not only command line options.


  • Docs built locally and crossrefs manually checked.

Footnotes

  1. Namely only after creating a stop-gap solution for running the contents of startup.jl in the REPL only, using command line aliases and a custom env var.

tfiers added a commit to tfiers/dotfiles that referenced this pull request Feb 10, 2022
@KristofferC KristofferC added the domain:docs This change adds or pertains to documentation label May 11, 2022
@KristofferC KristofferC added the status:merge me PR is reviewed. Merge when all tests are passing label May 11, 2022
@KristofferC KristofferC merged commit 9a0e797 into JuliaLang:master May 11, 2022
@giordano giordano removed the status:merge me PR is reviewed. Merge when all tests are passing label May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants