mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	docs: Remove highlight parameters from links.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							2a5adf1453
						
					
				
				
					commit
					2b3a821807
				
			@@ -39,7 +39,7 @@ location /static/ {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## nginx routes other requests [between Django and Tornado][tornado-django]
 | 
					## nginx routes other requests [between Django and Tornado][tornado-django]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[tornado-django]: ../overview/architecture-overview.html?highlight=tornado#django-and-tornado
 | 
					[tornado-django]: ../overview/architecture-overview.html#django-and-tornado
 | 
				
			||||||
 | 
					
 | 
				
			||||||
All our connected clients hold open long-polling connections so that
 | 
					All our connected clients hold open long-polling connections so that
 | 
				
			||||||
they can receive events (messages, presence notifications, and so on) in
 | 
					they can receive events (messages, presence notifications, and so on) in
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -89,7 +89,7 @@ to learn more about creating and applying database migrations.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
**Test your changes:** Once you've run the migration, flush memcached
 | 
					**Test your changes:** Once you've run the migration, flush memcached
 | 
				
			||||||
on your development server (`./scripts/setup/flush-memcached`) and then
 | 
					on your development server (`./scripts/setup/flush-memcached`) and then
 | 
				
			||||||
[restart the development server](../development/remote.html?highlight=tools%2Frun-dev.py#running-the-development-server)
 | 
					[restart the development server](../development/remote.html#running-the-development-server)
 | 
				
			||||||
to avoid interacting with cached objects.
 | 
					to avoid interacting with cached objects.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Backend changes
 | 
					### Backend changes
 | 
				
			||||||
@@ -265,7 +265,7 @@ Running migrations:
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Once you've run the migration, restart memcached on your development
 | 
					Once you've run the migration, restart memcached on your development
 | 
				
			||||||
server (`/etc/init.d/memcached restart`) and then [restart the development server](../development/remote.html?highlight=tools%2Frun-dev.py#running-the-development-server)
 | 
					server (`/etc/init.d/memcached restart`) and then [restart the development server](../development/remote.html#running-the-development-server)
 | 
				
			||||||
to avoid interacting with cached objects.
 | 
					to avoid interacting with cached objects.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Handle database interactions
 | 
					### Handle database interactions
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,7 +39,7 @@ def get_alert_word_automaton(realm: Realm) -> ahocorasick.Automaton:
 | 
				
			|||||||
    # If the kind is not AHOCORASICK after calling make_automaton, it means there is no key present
 | 
					    # If the kind is not AHOCORASICK after calling make_automaton, it means there is no key present
 | 
				
			||||||
    # and hence we cannot call items on the automaton yet. To avoid it we return None for such cases
 | 
					    # and hence we cannot call items on the automaton yet. To avoid it we return None for such cases
 | 
				
			||||||
    # where there is no alert-words in the realm.
 | 
					    # where there is no alert-words in the realm.
 | 
				
			||||||
    # https://pyahocorasick.readthedocs.io/en/latest/index.html?highlight=Automaton.kind#module-constants
 | 
					    # https://pyahocorasick.readthedocs.io/en/latest/#make-automaton
 | 
				
			||||||
    if alert_word_automaton.kind != ahocorasick.AHOCORASICK:
 | 
					    if alert_word_automaton.kind != ahocorasick.AHOCORASICK:
 | 
				
			||||||
        return None
 | 
					        return None
 | 
				
			||||||
    return alert_word_automaton
 | 
					    return alert_word_automaton
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user