Skip to content

docs/screenshot automation#345

Merged
edouard-lopez merged 27 commits intomasterfrom
docs/screenshot-automation
Oct 25, 2025
Merged

docs/screenshot automation#345
edouard-lopez merged 27 commits intomasterfrom
docs/screenshot-automation

Conversation

@edouard-lopez
Copy link
Member

@edouard-lopez edouard-lopez commented Jan 26, 2024

Announcement

This feature has been extracted to a dedicated repo https://github.com/pure-fish/docker-terminal-screenshot/ to allow a maximum of people to use it 💖

image

PR

pure-doc-with-screenshot.webm

related: follows #343, OmarTawfik/terminal-screenshot#11

  • docs(screenshot): configure fonts for screenshots
  • chore(git): .gitignore cache generated by docs
  • ci: show more info during docker build
  • chore(makefile): cleanup screenshot directory before new ones
  • chore: ignore screenshot files
  • docs: screenshot check_for_new_release & container_detection

Todo

  • wait for feat: add color scheme support OmarTawfik/terminal-screenshot#11 to be merge
  • or use branch in project:
  • build binary in the docker image from source
    • Clone repo and build binary (in [docker/Dockerfile])

      git clone --depth 1 git@github.com:OmarTawfik/terminal-screenshot.git
      yarn build
      
    • Usage

      fish_prompt \
            | node out/src/cli.js \
               --color-scheme ./tests/ayu.json \
               --margin 5 \
               --background-color '#0f1419' \
               --output foo.png
      

@edouard-lopez edouard-lopez self-assigned this Jan 26, 2024
@edouard-lopez edouard-lopez marked this pull request as draft January 26, 2024 00:21
@edouard-lopez edouard-lopez added the ❓discussion understanding the project and its choices label Jan 26, 2024
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch 2 times, most recently from 869bfe2 to dd9253c Compare February 16, 2024 15:51
@edouard-lopez edouard-lopez mentioned this pull request Dec 9, 2024
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch from dd9253c to 96f692d Compare May 20, 2025 09:14
@edouard-lopez edouard-lopez force-pushed the master branch 6 times, most recently from b82f200 to baaf886 Compare May 27, 2025 11:02
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch from 96f692d to f9eb1ec Compare June 6, 2025 21:31
@edouard-lopez edouard-lopez force-pushed the master branch 2 times, most recently from f5d6076 to 354bacb Compare September 23, 2025 10:56
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch from f9eb1ec to c5e48b3 Compare September 23, 2025 12:59
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch 2 times, most recently from 5a248b5 to 0e9a399 Compare October 25, 2025 09:04
…ly for screenshot

Previously we were building terminal-screenshot and all its dependencies everytime,
while we only need it for screenshot.
Also we were testing the installer on the README file which 1) doesn't mean pure is functional
 and 2) wasn't copied. So we are testing the existence of the conf.d/pure.fish file instead
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch from 0e9a399 to 8abb8f0 Compare October 25, 2025 09:34
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch from b83eaed to 292bc29 Compare October 25, 2025 11:30
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch 6 times, most recently from c2bf5f8 to 5514079 Compare October 25, 2025 13:07
Otherwise utility fonctions are not working as expected
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch 9 times, most recently from ff1c9aa to 73625a6 Compare October 25, 2025 16:40
_mock_exit_status _pure_is_inside_container
@edouard-lopez edouard-lopez force-pushed the docs/screenshot-automation branch from 73625a6 to 9e1d51f Compare October 25, 2025 16:50
@edouard-lopez edouard-lopez marked this pull request as ready for review October 25, 2025 16:55
@edouard-lopez edouard-lopez merged commit 120b08d into master Oct 25, 2025
12 checks passed
@edouard-lopez edouard-lopez deleted the docs/screenshot-automation branch October 25, 2025 16:56
@edouard-lopez
Copy link
Member Author

edouard-lopez commented Oct 25, 2025

Light Theme Mirage Theme
light-pure_begin_prompt_with_current_directory=false mirage-pure_begin_prompt_with_current_directory=false
light-pure_begin_prompt_with_current_directory=true mirage-pure_begin_prompt_with_current_directory=true
light-pure_check_for_new_release=true,no-update mirage-pure_check_for_new_release=true,no-update
light-pure_check_for_new_release=true,with-update mirage-pure_check_for_new_release=true,with-update
light-pure_enable_aws_profile=false mirage-pure_enable_aws_profile=false
light-pure_enable_aws_profile=true mirage-pure_enable_aws_profile=true
light-pure_enable_container_detection=true,inside mirage-pure_enable_container_detection=true,inside
light-pure_enable_container_detection=true,outside mirage-pure_enable_container_detection=true,outside
light-pure_enable_git=false mirage-pure_enable_git=false
light-pure_enable_git=true mirage-pure_enable_git=true
light-pure_enable_k8s=false mirage-pure_enable_k8s=false
light-pure_enable_k8s=true mirage-pure_enable_k8s=true
light-pure_enable_nixdevshell=false mirage-pure_enable_nixdevshell=false
light-pure_enable_nixdevshell=true mirage-pure_enable_nixdevshell=true
light-pure_enable_single_line_prompt=false mirage-pure_enable_single_line_prompt=false
light-pure_enable_single_line_prompt=true mirage-pure_enable_single_line_prompt=true
light-pure_enable_virtualenv=false mirage-pure_enable_virtualenv=false
light-pure_enable_virtualenv=true mirage-pure_enable_virtualenv=true
light-pure_reverse_prompt_symbol_in_vimode=false mirage-pure_reverse_prompt_symbol_in_vimode=false
light-pure_reverse_prompt_symbol_in_vimode=true mirage-pure_reverse_prompt_symbol_in_vimode=true
light-pure_separate_prompt_on_error=false mirage-pure_separate_prompt_on_error=false
light-pure_separate_prompt_on_error=true mirage-pure_separate_prompt_on_error=true
light-pure_show_jobs=false mirage-pure_show_jobs=false
light-pure_show_jobs=true mirage-pure_show_jobs=true
light-pure_show_prefix_root_prompt=false mirage-pure_show_prefix_root_prompt=false
light-pure_show_prefix_root_prompt=true mirage-pure_show_prefix_root_prompt=true
light-pure_show_subsecond_command_duration=false mirage-pure_show_subsecond_command_duration=false
light-pure_show_subsecond_command_duration=true mirage-pure_show_subsecond_command_duration=true
light-pure_show_system_time=false mirage-pure_show_system_time=false
light-pure_show_system_time=true mirage-pure_show_system_time=true
light-pure_symbol_prompt=error mirage-pure_symbol_prompt=error
light-pure_symbol_prompt=success mirage-pure_symbol_prompt=success
light-ssh=connected mirage-ssh=connected
light-ssh=disconnected mirage-ssh=disconnected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

❓discussion understanding the project and its choices

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant